Open Rahul-Bisht opened 7 years ago
changeEditor = new ice.InlineChangeEditor({ element:ed.getWin().document.documentElement, //ed.getBody(), isTracking: self.isTracking, contentEditable: self.contentEditable, changeIdAttribute: self.changeIdAttribute, userIdAttribute: self.userIdAttribute, userNameAttribute: self.userNameAttribute, timeAttribute: self.timeAttribute, handleEvents:true, currentUser: { id: self.user.id, name: self.user.name }, plugins: [ 'IceEmdashPlugin', 'IceAddTitlePlugin', 'IceSmartQuotesPlugin', { name: 'IceCopyPastePlugin', settings: { pasteType: 'formattedClean', preserve: self.preserveOnPaste, beforePasteClean: self.beforePasteClean, afterPasteClean: self.afterPasteClean } } ], changeTypes: { insertType: { tag: self.insertTag, alias: self.insertClass }, deleteType: { tag: self.deleteTag, alias: self.deleteClass } } }).startTracking();
some of the methods are removed from tinymce 4.4.3 e.g 'onEvent', so i did some workaround for these events to fire. i am facing below issues with track changes though.
note - tinymce/plugins/ice/js/editor_plugin.js