PerBonomi
7 years agoBoss
Detect changes in the tinyMCE ActiveEditor
Does anyone know how to achieve this?
PerBonomi - Try below updated code. You need to add an event on the active editor.
var ed = tinymce.activeEditor; ed.on('change', function(e) { console.log('the event object ', e);
console.log('the editor object ', ed);
console.log('the content ', ed.getContent()); });