Hello. I configure ckeditor. I downloaded the onchange plugin ( https://ckeditor.com/cke4/addon/onchange ). Connected it in config.js:
config.extraPlugins = 'onchange'; I wrote this code in config.js:
CKEDITOR.on('instanceReady', function (ev) { var editor = ev.editor; editor.on('change', function() { console.log('zzz'); }); }); And now when I write something in my editor, zzz is displayed twice. Why is that? Should be displayed once.