Ticket #4717: 4717.patch
File 4717.patch, 1.4 KB (added by , 13 years ago) |
---|
-
_source/plugins/link/plugin.js
178 178 selection.selectRanges( ranges ); 179 179 editor.document.$.execCommand( 'unlink', false, null ); 180 180 selection.selectBookmarks( bookmarks ); 181 } 181 }, 182 183 startDisabled : true 182 184 }; 183 185 184 186 CKEDITOR.tools.extend( CKEDITOR.config, -
_source/plugins/indent/plugin.js
255 255 } 256 256 else 257 257 this.indentCssProperty = editor.config.contentsLangDirection == 'ltr' ? 'margin-left' : 'margin-right'; 258 this.startDisabled = name == 'outdent'; 258 259 } 259 260 260 261 indentCommand.prototype = { -
_source/core/editor.js
331 331 for ( var name in commands ) 332 332 { 333 333 command = commands[ name ]; 334 command[ command. modes[ mode ] ? 'enable' : 'disable' ]();334 command[ command.startDisabled ? 'disable' : command.modes[ mode ] ? 'enable' : 'disable' ](); 335 335 } 336 336 } 337 337