1 /* 2 Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 For licensing, see LICENSE.html or http://ckeditor.com/license 4 */ 5 6 /** 7 * @fileOverview API initialization code. 8 */ 9 10 // Load core plugins. 11 CKEDITOR.plugins.load( CKEDITOR.config.corePlugins.split( ',' ), function() 12 { 13 CKEDITOR.status = 'loaded'; 14 CKEDITOR.fire( 'loaded' ); 15 16 // Process all instances created by the "basic" implementation. 17 var pending = CKEDITOR._.pending; 18 if ( pending ) 19 { 20 delete CKEDITOR._.pending; 21 22 for ( var i = 0 ; i < pending.length ; i++ ) 23 CKEDITOR.add( pending[ i ] ); 24 } 25 }); 26 27 /* 28 TODO: Enable the following and check if effective. 29 30 if ( CKEDITOR.env.ie ) 31 { 32 // Remove IE mouse flickering on IE6 because of background images. 33 try 34 { 35 document.execCommand( 'BackgroundImageCache', false, true ); 36 } 37 catch (e) 38 { 39 // We have been reported about loading problems caused by the above 40 // line. For safety, let's just ignore errors. 41 } 42 } 43 */ 44