Open
Description
I currently provide custom events for tinyMCE to allow for other components to work with the text editor,
can you provide a working example of the otherEventHandlers
code, as it's not very clear how you would run code like this:
setup: (editor) => {
editor.addButton('my button', {
icon: false,
id: 'myButtonID',
text: null,
onclick: (editor) => {
console.log(editor.getContent())
},
});
},
Metadata
Metadata
Assignees
Labels
No labels