Switch editor button, onEditorChange event method & toggleToolbar method. #4584
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
-
To create a new button
ql-toggle-editor
which when pressed will trigger theonEditorChange
event method.The
onEventChange
method is an event that when triggered is used to switch the editor from a rich text editor to a HTML editor or a markdown editor, etc. The method is used to convert the text inside the editor and the converted text is returned in the method.And the
toggleToolbar
method is used to hide all the buttons in the toolbar except for theql-toggle-editor
button.Beta Was this translation helpful? Give feedback.
All reactions