Ticket #8299: 8299_2.patch
File 8299_2.patch, 1.1 KB (added by , 14 years ago) |
---|
-
_source/plugins/wysiwygarea/plugin.js
1110 1110 if ( sel && !sel.isLocked ) 1111 1111 { 1112 1112 var isDirty = editor.checkDirty(); 1113 editor.fire( 'saveSnapshot', { contentOnly : 1 } ); 1113 1114 onSelectionChangeFixBody.call( this, evt ); 1114 1115 editor.fire( 'updateSnapshot' ); 1115 1116 !isDirty && editor.resetDirty(); -
_source/plugins/undo/plugin.js
64 64 editor.on( 'afterCommandExec', recordCommand ); 65 65 66 66 // Save snapshots before doing custom changes. 67 editor.on( 'saveSnapshot', function( )67 editor.on( 'saveSnapshot', function( evt ) 68 68 { 69 undoManager.save( );69 undoManager.save( evt.data && evt.data.contentOnly ); 70 70 }); 71 71 72 72 // Registering keydown on every document recreation.(#3844)