method for updating contents in editor without triggering text-change event (setSemanticHTML) #4591
trymeouteh
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
To have an event where you can pass a string that will be used as the new innerHTML of the editor without triggering the text-change event.
The usecase for this is when you want to have two editors, the Quill rich text editor and the raw HTML editor and to be able to take the HTML string and easily place it into the Quill editor without any hassle.
This is my current workaround to achieve the functionality of having Quill rich text editor and a raw HTML editor
Would prefer to something more like this which will allow me not to need a variable
textareaEventTriggeredto determine if the text-change event was triggered by the user or not.Beta Was this translation helpful? Give feedback.
All reactions