Ticket #4534: 4534.patch
File 4534.patch, 646 bytes (added by , 14 years ago) |
---|
-
_source/plugins/panel/plugin.js
170 170 // Register the CKEDITOR global. 171 171 win.$.CKEDITOR = CKEDITOR; 172 172 173 doc.on( 'keydown', function( evt ) 173 // Arrow keys for scrolling is only preventable with 'keypress' event in Opera (#4534). 174 doc.on( 'key' + ( CKEDITOR.env.opera? 'press':'down' ), function( evt ) 174 175 { 175 176 var keystroke = evt.data.getKeystroke(), 176 177 dir = this.document.getById( 'cke_' + this.id ).getAttribute( 'dir' );