Created
May 12, 2014 14:46
-
-
Save vasilake-v/60dd87cdfc9ea1f98eef to your computer and use it in GitHub Desktop.
Fix on "ckeditor-track-changes" plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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