Changeset 3847
- Timestamp:
- 07/09/09 11:13:05 (4 years ago)
- Location:
- CKEditor/trunk
- Files:
-
- 3 edited
-
CHANGES.html (modified) (2 diffs)
-
_source/plugins/editingblock/plugin.js (modified) (1 diff)
-
_source/plugins/undo/plugin.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
CKEditor/trunk/CHANGES.html
r3846 r3847 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 2 <!-- 3 3 Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. … … 45 45 Fixed issues:</p> 46 46 <ul> 47 <li><a href="http://dev.fckeditor.net/ticket/3642">#3642</a> : Fixed file type form field layout</li>48 <li><a href="http://dev.fckeditor.net/ticket/3869">#3869</a> : Now it is possible to insert protected source inside another one</li>49 47 <li><a href="http://dev.fckeditor.net/ticket/3859">#3859</a> : Fixed Flash dialog layout in Webkit</li> 50 48 <li><a href="http://dev.fckeditor.net/ticket/3852">#3852</a> : Disabled textarea resizing in dialogs</li> -
CKEditor/trunk/_source/plugins/editingblock/plugin.js
r3846 r3847 170 170 return; 171 171 172 this.fire( 'beforeModeUnload' ); 173 172 174 var currentMode = getMode( this ); 173 175 data = currentMode.getData(); 174 data = this.fire( 'beforeModeUnload', data );175 176 currentMode.unload( holderElement ); 176 177 this.mode = ''; -
CKEditor/trunk/_source/plugins/undo/plugin.js
r3846 r3847 72 72 // Registering keydown on every document recreation.(#3844) 73 73 editor.on( 'contentDom', function() 74 { 75 editor.document.on( 'keydown', function( event ) 76 { 77 // Do not capture CTRL hotkeys. 78 if ( !event.data.$.ctrlKey && !event.data.$.metaKey ) 79 undoManager.type( event ); 80 }); 81 82 } ); 74 { 75 editor.document.on( 'keydown', function( event ) 76 { 77 // Do not capture CTRL hotkeys. 78 if ( !event.data.$.ctrlKey && !event.data.$.metaKey ) 79 undoManager.type( event ); 80 }); 81 }); 83 82 84 83 // Always save an undo snapshot - the previous mode might have 85 84 // changed editor contents. 86 85 editor.on( 'beforeModeUnload', function() 87 {88 editor.mode == 'wysiwyg' && undoManager.save( true );89 });86 { 87 editor.mode == 'wysiwyg' && undoManager.save( true ); 88 }); 90 89 91 90 // Make the undo manager available only in wysiwyg mode.
Note: See TracChangeset
for help on using the changeset viewer.
