I am using ckeditor 4.1.1. I am applying LITE plugin for track the changes. On my page there are two editors, but it is getting applyed only on first editor not on the other, I am using wordcount plugin same time, word count gets applyed on both editor but lite isn't. I am wrting code as follows.
var users = [{name: "Nilesh", id : 50}];
var lite = null; // an instance of the LITE plugin
var user = users[0];
var editor1 = CKEDITOR.replace( 'descriptionEditor1', {
extraPlugins : 'lite,wordcount',
wordcount : {
showCharCount : false,
showWordCount : true,
wordLimit : 'unlimited'
},
} );
editor1.on(LITE.Events.INIT, function(event) {
lite = event.data.lite;
lite.toggleShow(true);
lite.setUserInfo(user);
window.lite = lite;
});
var lite = null; // an instance of the LITE plugin
var user = users[0];
var editor2 = CKEDITOR.replace( 'descriptionEditor2', {
extraPlugins : 'lite,wordcount',
wordcount : {
showCharCount : false,
showWordCount : true,
wordLimit : 'unlimited'
},
} );
editor2.on(LITE.Events.INIT, function(event) {
lite = event.data.lite;
lite.toggleShow(true);
lite.setUserInfo(user);
window.lite = lite;
});
The developers seem to know about this:
https://github.com/loopindex/ckeditor-track-changes/issues/2