add custom event in tinymce code example
Example: tinymce event on change
tinymce.init({
selector: 'textarea',
setup: function(editor) {
editor.on('init', function(e) {
console.log('The Editor has initialized.');
});
}
});
COPY CODE