Answer the question
In order to leave comments, you need to log in
Ckeditor onchange - why does my code work 2 times?
Hello. Setting up ckeditor. Downloaded the onchange plugin ( https://ckeditor.com/cke4/addon/onchange). Connected it in config.js: config.extraPlugins = 'onchange';
Wrote the following code in config.js:
CKEDITOR.on('instanceReady', function (ev) {
var editor = ev.editor;
editor.on('change', function() {
console.log('zzz');
});
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question