Ticket #3573: 3573.patch
File 3573.patch, 1.4 KB (added by , 15 years ago) |
---|
-
_source/plugins/wysiwygarea/plugin.js
52 52 if ( this.mode == 'wysiwyg' ) 53 53 { 54 54 this.focus(); 55 this.fire( 'saveSnapshot' ); 55 56 56 57 var element = evt.data, 57 58 elementName = element.getName(), … … 104 105 105 106 if ( selIsLocked ) 106 107 this.getSelection().lock(); 108 109 // Save snaps after the whole execution completed. 110 // This's a workaround for make DOM modification's happened after 111 // 'insertElement' to be included either, e.g. Form-based dialogs' 'commitContents' 112 // call. 113 CKEDITOR.tools.setTimeout( function(){ 114 this.fire( 'saveSnapshot' ); 115 }, 0, this ); 107 116 } 108 117 } 109 118 -
_source/plugins/dialog/plugin.js
2441 2441 exec : function( editor ) 2442 2442 { 2443 2443 editor.openDialog( this.dialogName ); 2444 } 2444 }, 2445 // Dialog commands just open a dialog ui, thus require no undo logic, 2446 // undo support should dedicate to specific dialog implementation. 2447 canUndo: false 2445 2448 }; 2446 2449 2447 2450 (function()