Ticket #3703: 3703.patch
File 3703.patch, 864 bytes (added by , 14 years ago) |
---|
-
_source/plugins/editingblock/plugin.js
117 117 if ( editor.config.startupFocus ) 118 118 editor.focus(); 119 119 120 // Fire instanceReady for both the editor and CKEDITOR. 121 editor.fireOnce( 'instanceReady' ); 122 CKEDITOR.fire( 'instanceReady', null, editor ); 123 }); 120 // Fire instanceReady for both the editor and CKEDITOR, but 121 // defer this until the whole execution has completed 122 // to guarantee the editor is fully responsible. 123 setTimeout( function(){ 124 editor.fireOnce( 'instanceReady' ); 125 CKEDITOR.fire( 'instanceReady', null, editor ); 126 } ); 127 }); 124 128 } 125 129 }); 126 130