Changeset 3910
- Timestamp:
- 07/16/09 14:24:38 (4 years ago)
- Location:
- CKEditor/trunk
- Files:
-
- 3 edited
-
CHANGES.html (modified) (1 diff)
-
_source/plugins/clipboard/dialogs/paste.js (modified) (1 diff)
-
_source/plugins/pastefromword/dialogs/pastefromword.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
CKEditor/trunk/CHANGES.html
r3909 r3910 142 142 <li><a href="http://dev.fckeditor.net/ticket/3946">#3946</a> : Fixed unable to hide contextmenu.</li> 143 143 <li><a href="http://dev.fckeditor.net/ticket/3956">#3956</a> : Fixed About dialog in Source Mode for IE.</li> 144 <li><a href="http://dev.fckeditor.net/ticket/3953">#3953</a> : Fixed keystroke for close Paste dialog.</li> 144 145 </ul> 145 146 <h3> -
CKEditor/trunk/_source/plugins/clipboard/dialogs/paste.js
r3867 r3910 22 22 + 'var iframe = new window.parent.CKEDITOR.dom.element( frameElement );' 23 23 + 'var dialog = iframe.getCustomData( "dialog" );' 24 + 'dialog.fire( "iframeAdded", { iframe : iframe } );' 24 + '' 25 + 'iframe.getFrameDocument().on( "keydown", function( e )\ 26 {\ 27 if ( e.data.getKeystroke() == 27 )\ 28 dialog.hide();\ 29 });' 25 30 + '};' 26 31 + '</script><style>body { margin: 3px; height: 95%; } </style><body></body>', -
CKEditor/trunk/_source/plugins/pastefromword/dialogs/pastefromword.js
r3900 r3910 19 19 + 'var iframe = new window.parent.CKEDITOR.dom.element( frameElement );' 20 20 + 'var dialog = iframe.getCustomData( "dialog" );' 21 + '' 22 + 'iframe.getFrameDocument().on( "keydown", function( e )\ 23 {\ 24 if ( e.data.getKeystroke() == 27 )\ 25 dialog.hide();\ 26 });' 21 27 + 'dialog.fire( "iframeAdded", { iframe : iframe } );' 22 28 + '};'
Note: See TracChangeset
for help on using the changeset viewer.
