Ticket #5586: 5586.patch

File 5586.patch, 683 bytes (added by Garry Yao, 14 years ago)
  • _source/plugins/maximize/plugin.js

     
    8282        {
    8383                if ( editor.focusManager.hasFocus )
    8484                {
    85                         var focusGrabber = editor.container.append( CKEDITOR.dom.element.createFromHtml(
    86                                 '<span tabindex="-1" style="position:absolute; left:-10000" role="presentation"></span>' ) );
    87 
    88                         focusGrabber.on( 'focus', function()
    89                                 {
    90                                         editor.focus();
    91                                 } );
    92                         focusGrabber.focus();
    93                         focusGrabber.remove();
     85                        editor.toolbox.focus();
     86                        editor.focus();
    9487                }
    9588        }
    9689
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy