Ticket #4547: 4547.patch
File 4547.patch, 916 bytes (added by , 15 years ago) |
---|
-
_source/core/editor.js
123 123 // Fire the "configLoaded" event. 124 124 editor.fireOnce( 'configLoaded' ); 125 125 126 // Load skin and theme once skin config is known.(#4547) 127 loadSkin( editor ); 128 126 129 // Load language file. 127 130 loadLang( editor ); 128 131 }; … … 246 249 247 250 // Load the editor skin. 248 251 editor.fire( 'pluginsLoaded' ); 249 loadSkin( editor ); 252 253 // Load theme once plugins are loaded. 254 loadTheme( editor ); 255 250 256 }); 251 257 }); 252 258 }; 253 259 254 260 var loadSkin = function( editor ) 255 261 { 256 CKEDITOR.skins.load( editor, 'editor', function() 257 { 258 loadTheme( editor ); 259 }); 262 CKEDITOR.skins.load( editor, 'editor' ); 260 263 }; 261 264 262 265 var loadTheme = function( editor )