Ticket #4241: 4241.patch
File 4241.patch, 1.2 KB (added by , 14 years ago) |
---|
-
_source/plugins/floatpanel/plugin.js
55 55 56 56 this.element = element; 57 57 58 // Register panels to editor for easy destroying ( #4241 ). 59 editor.panels ? editor.panels.push( element ) : editor.panels = [ element ]; 60 61 58 62 this._ = 59 63 { 60 64 // The panel that will be floating. -
_source/themes/default/theme.js
152 152 153 153 destroy : function( editor ) 154 154 { 155 var container = editor.container; 155 var container = editor.container, 156 panels = editor.panels; 156 157 157 158 /* 158 159 * IE BUG: Removing the editor DOM elements while the selection is inside … … 179 180 if ( container ) 180 181 container.remove(); 181 182 183 for( var i = 0 ; panels && i < panels.length ; i++ ) 184 panels[ i ].remove(); 185 182 186 if ( editor.elementMode == CKEDITOR.ELEMENT_MODE_REPLACE ) 183 187 { 184 188 editor.element.show();