Ticket #6327: 6327.patch

File 6327.patch, 1.1 KB (added by Garry Yao, 13 years ago)
  • _source/plugins/wysiwygarea/plugin.js

     
    610610                                                // clicking outside actual content, manually apply the focus. (#1659)
    611611                                                if ( CKEDITOR.env.ie
    612612                                                        && domDocument.$.compatMode == 'CSS1Compat'
    613                                                                 || CKEDITOR.env.gecko
    614613                                                                || CKEDITOR.env.opera )
    615614                                                {
    616615                                                        var htmlElement = domDocument.getDocumentElement();
     
    620619                                                                // have to use here a temporary element to 'redirect'
    621620                                                                // the focus.
    622621                                                                if ( evt.data.getTarget().equals( htmlElement ) )
    623                                                                 {
    624                                                                         if ( CKEDITOR.env.gecko && CKEDITOR.env.version >= 10900 )
    625                                                                                 blinkCursor();
    626622                                                                        focusGrabber.focus();
    627                                                                 }
    628623                                                        } );
    629624                                                }
    630625
     
    10261021                        }
    10271022
    10281023                        // Create an invisible element to grab focus.
    1029                         if ( CKEDITOR.env.gecko || CKEDITOR.env.ie || CKEDITOR.env.opera )
     1024                        if ( CKEDITOR.env.ie || CKEDITOR.env.opera )
    10301025                        {
    10311026                                var focusGrabber;
    10321027                                editor.on( 'uiReady', function()
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy