Ticket #3621: 3621.patch
File 3621.patch, 4.1 KB (added by , 16 years ago) |
---|
-
_source/plugins/about/plugin.js
9 9 { 10 10 var command = editor.addCommand( 'about', new CKEDITOR.dialogCommand( 'about' ) ); 11 11 command.modes = { wysiwyg:1, source:1 }; 12 command.canUndo = false; 12 13 13 14 editor.ui.addButton( 'About', 14 15 { -
_source/plugins/clipboard/plugin.js
60 60 var cutCopyCmd = function( type ) 61 61 { 62 62 this.type = type; 63 this.canUndo = ( this.type == 'cut' ); // We can't undo copy to clipboard. 63 64 }; 64 65 65 66 cutCopyCmd.prototype = -
_source/plugins/find/plugin.js
13 13 label : editor.lang.findAndReplace.find, 14 14 command : 'find' 15 15 }); 16 editor.addCommand( 'find', new CKEDITOR.dialogCommand( 'find' ) ); 16 var findCommand = editor.addCommand( 'find', new CKEDITOR.dialogCommand( 'find' ) ); 17 findCommand.canUndo = false; 17 18 18 19 editor.ui.addButton( 'Replace', 19 20 { 20 21 label : editor.lang.findAndReplace.replace, 21 22 command : 'replace' 22 23 }); 23 editor.addCommand( 'replace', new CKEDITOR.dialogCommand( 'replace' ) ); 24 var replaceCommand = editor.addCommand( 'replace', new CKEDITOR.dialogCommand( 'replace' ) ); 25 replaceCommand.canUndo = false; 24 26 25 27 CKEDITOR.dialog.add( 'find', this.path + 'dialogs/find.js' ); 26 28 CKEDITOR.dialog.add( 'replace', this.path + 'dialogs/find.js' ); -
_source/plugins/maximize/plugin.js
241 241 242 242 savedSelection = savedScroll = null; 243 243 savedState = this.state; 244 } 244 }, 245 canUndo : false 245 246 } ); 246 247 247 248 editor.ui.addButton( 'Maximize', -
_source/plugins/preview/plugin.js
86 86 { 87 87 init : function( editor ) 88 88 { 89 editor.addCommand( pluginName, previewCmd ); 89 var command = editor.addCommand( pluginName, previewCmd ); 90 command.canUndo = false; 90 91 editor.ui.addButton( 'Preview', 91 92 { 92 93 label : editor.lang.preview, -
_source/plugins/print/plugin.js
15 15 16 16 // Register the command. 17 17 var command = editor.addCommand( pluginName, CKEDITOR.plugins.print ); 18 command.canUndo = false; 18 19 19 20 // Register the toolbar button. 20 21 editor.ui.addButton( 'Print', -
_source/plugins/selection/plugin.js
221 221 } 222 222 }); 223 223 224 editor.addCommand( 'selectAll', selectAllCmd ); 224 var command = editor.addCommand( 'selectAll', selectAllCmd ); 225 command.canUndo = false; 225 226 editor.ui.addButton( 'SelectAll', 226 227 { 227 228 label : editor.lang.selectAll, -
_source/plugins/showblocks/plugin.js
110 110 init : function( editor ) 111 111 { 112 112 var command = editor.addCommand( 'showblocks', commandDefinition ); 113 command.canUndo = false; 113 114 114 115 if ( editor.config.startupOutlineBlocks ) 115 116 command.setState( CKEDITOR.TRISTATE_ON );