Ticket #3621: 3621_2.patch
| File 3621_2.patch, 3.8 KB (added by , 17 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
12 12 var previewCmd = 13 13 { 14 14 modes : { wysiwyg:1, source:1 }, 15 15 canUndo : false, 16 16 exec : function( editor ) 17 17 { 18 18 var sHTML, -
_source/plugins/print/plugin.js
36 36 else 37 37 editor.document.$.execCommand( "Print" ); 38 38 }, 39 canUndo : false, 39 40 modes : { wysiwyg : !( CKEDITOR.env.opera ) } // It is imposible to print the inner document in Opera. 40 41 }; -
_source/plugins/selection/plugin.js
82 82 case 'source' : 83 83 // TODO 84 84 } 85 } 85 }, 86 canUndo : false 86 87 }; 87 88 88 89 CKEDITOR.plugins.add( 'selection', -
_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 );
