Ticket #3629: 3629.patch
File 3629.patch, 5.3 KB (added by , 16 years ago) |
---|
-
_source/core/config.js
154 154 155 155 /** 156 156 * List of additional plugins to be loaded. This is a tool setting which 157 * makes it easier to add new plugins, w hithout having to touch and157 * makes it easier to add new plugins, without having to touch and 158 158 * possibly breaking the <i>plugins</i> setting. 159 159 * @type String 160 160 * @example … … 164 164 165 165 /** 166 166 * List of plugins that must not be loaded. This is a tool setting which 167 * makes it easier to avoid loading plugins defin ied in the <i>plugins</i>168 * setting, w hithout having to touch and possibly breaking it.167 * makes it easier to avoid loading plugins defined in the <i>plugins</i> 168 * setting, without having to touch and possibly breaking it. 169 169 * @type String 170 170 * @example 171 171 * config.removePlugins = 'elementspath,save,font'; -
_source/plugins/domiterator/plugin.js
67 67 // The range object used to identify the paragraph contents. 68 68 var range; 69 69 70 // Indicat s that the current element in the loop is the last one.70 // Indicates that the current element in the loop is the last one. 71 71 var isLast; 72 72 73 73 // Instructs to cleanup remaining BRs. -
_source/plugins/richcombo/plugin.js
1 /*1 /* 2 2 Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 3 3 For licensing, see LICENSE.html or http://ckeditor.com/license 4 4 */ … … 270 270 { 271 271 me._.on = 0; 272 272 me.setState( CKEDITOR.TRISTATE_OFF ); 273 } 273 }; 274 274 275 275 if ( this.init ) 276 276 this.init(); -
_source/plugins/scayt/plugin.js
48 48 editor.on( 'contentDomUnload', function() 49 49 { 50 50 // Remove scripts. 51 var scripts = CKEDITOR.document.getElementsByTag( 'script' ) ;52 scaytIdRegex = /^dojoIoScript(\d+)$/i;53 scaytSrcRegex = /^http:\/\/demo\.spellchecker\.net\/spellcheck3\/script\/ssrv\.cgi/i;51 var scripts = CKEDITOR.document.getElementsByTag( 'script' ), 52 scaytIdRegex = /^dojoIoScript(\d+)$/i, 53 scaytSrcRegex = /^http:\/\/demo\.spellchecker\.net\/spellcheck3\/script\/ssrv\.cgi/i; 54 54 55 55 for ( var i=0; i < scripts.count(); i++ ) 56 56 { -
_source/plugins/smiley/dialogs/smiley.js
44 44 editor.insertElement( img ); 45 45 46 46 dialog.hide(); 47 } 47 }; 48 48 49 49 var onKeydown = CKEDITOR.tools.addFunction( function( ev, element ) 50 50 { -
_source/plugins/tabletools/plugin.js
39 39 40 40 for ( var i = 0 ; i < ranges.length ; i++ ) 41 41 { 42 var range = ranges[ i ]; 43 var walker = new CKEDITOR.dom.walker( range ); 42 var range = ranges[ i ], 43 walker = new CKEDITOR.dom.walker( range ), 44 node; 45 44 46 walker.guard = moveOutOfCellGuard; 45 47 46 48 while ( ( node = walker.next() ) ) -
_source/plugins/wsc/dialogs/wsc.js
55 55 initAndSpell( dialog ); 56 56 } 57 57 else if ( i++ == 180 ) // Timeout: 180 * 250ms = 45s. 58 _cancelOnError( errorMsg );58 window._cancelOnError( errorMsg ); 59 59 }; 60 60 } 61 61 -
_source/plugins/wysiwygarea/plugin.js
80 80 // the parent blocks until we reach blockLimit. 81 81 var parent, dtd; 82 82 if ( this.config.enterMode != CKEDITOR.ENTER_BR && isBlock ) 83 { 83 84 while( ( parent = range.getCommonAncestor( false, true ) ) 84 85 && ( dtd = CKEDITOR.dtd[ parent.getName() ] ) 85 86 && !( dtd && dtd [ elementName ] ) ) 86 87 range.splitBlock(); 88 } 87 89 88 90 // Insert the new node. 89 91 range.insertNode( clone ); … … 137 139 { 138 140 var brNodeList = fixedBlock.getElementsByTag( 'br' ), brNode; 139 141 for ( var i = 0 ; i < brNodeList.count() ; i++ ) 140 if( ( brNode = brNodeList.getItem( i ) ) && brNode.hasAttribute( '_fck_bookmark' ) ) 142 { 143 if ( ( brNode = brNodeList.getItem( i ) ) && brNode.hasAttribute( '_fck_bookmark' ) ) 141 144 brNode.remove(); 145 } 142 146 } 143 147 144 148 selection.selectBookmarks( bms );