Skip to content

Instantly share code, notes, and snippets.

@vasilake-v
Created May 12, 2014 14:46
Show Gist options
  • Save vasilake-v/60dd87cdfc9ea1f98eef to your computer and use it in GitHub Desktop.
Save vasilake-v/60dd87cdfc9ea1f98eef to your computer and use it in GitHub Desktop.
Fix on "ckeditor-track-changes" plugin
// Line: 103
ed.on("destroy", (function(editor) {
var ind = this._findPluginIndex(editor);
var ind = _findPluginIndex(editor.editor);
if (ind >= 0) {
if (_pluginMap[ind].plugin._tracker) {
_pluginMap[ind].plugin._tracker.stopTracking(true);
jQuery(_pluginMap[ind].plugin._tracker).unbind();
_pluginMap[ind].plugin._tracker = null;
}
_pluginMap.splice(ind, 1);
}
}).bind(this));
//
//
//
// Line: 715
_onSelectionChanged : function(event) {
// console.log("selection changed event"); // comment this to have a cleaner console. and avoid possible errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment