X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fcore%2Fckeditor_basic.js;h=a2ef2cb2404c7bb3e77b2cc27744c70cab3a687e;hp=239aca022b768f0692fd7c4bce3d63b937e2ed89;hb=039a051ccf3901311661022a30afd60fc38130c9;hpb=c9fdde67e6384bd5a66adc2b3bba5c4ce9db56c7 diff --git a/_source/core/ckeditor_basic.js b/_source/core/ckeditor_basic.js index 239aca0..a2ef2cb 100644 --- a/_source/core/ckeditor_basic.js +++ b/_source/core/ckeditor_basic.js @@ -29,7 +29,7 @@ if ( CKEDITOR.status == 'unloaded' ) // If not the basic code is not ready it, just mark it to be loaded. if ( CKEDITOR.status != 'basic_ready' ) { - CKEDITOR.loadFullCore._load = true; + CKEDITOR.loadFullCore._load = 1; return; } @@ -77,7 +77,7 @@ if ( CKEDITOR.status == 'unloaded' ) * // Disable the auto-replace feature. * CKEDITOR.replaceByClassEnabled = false; */ - CKEDITOR.replaceByClassEnabled = true; + CKEDITOR.replaceByClassEnabled = 1; var createInstance = function( elementOrIdOrName, config, creationFunction, data ) { @@ -137,10 +137,7 @@ if ( CKEDITOR.status == 'unloaded' ) return createInstance( elementOrId, config, CKEDITOR.editor.appendTo, data ); }; - /** - * @ignore - * Documented at ckeditor.js. - */ + // Documented at ckeditor.js. CKEDITOR.add = function( editor ) { // For now, just put the editor in the pending list. It will be @@ -174,9 +171,9 @@ if ( CKEDITOR.status == 'unloaded' ) for ( var i = 0 ; i < textareas.length ; i++ ) { - var config = null; - var textarea = textareas[i]; - var name = textarea.name; + var config = null, + textarea = textareas[i], + name = textarea.name; // The "name" and/or "id" attribute must exist. if ( !textarea.name && !textarea.id )