Ticket #4534: 4534.patch

File 4534.patch, 646 bytes (added by Garry Yao, 14 years ago)
  • _source/plugins/panel/plugin.js

     
    170170                                // Register the CKEDITOR global.
    171171                                win.$.CKEDITOR = CKEDITOR;
    172172
    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 )
    174175                                        {
    175176                                                var keystroke = evt.data.getKeystroke(),
    176177                                                        dir = this.document.getById( 'cke_' + this.id ).getAttribute( 'dir' );
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy