Ticket #8849: 8849.patch

File 8849.patch, 752 bytes (added by Garry Yao, 12 years ago)
  • _source/plugins/clipboard/plugin.js

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    226226                // Wait a while and grab the pasted contents
    227227                window.setTimeout( function()
    228228                {
    229                         // Gecko need to move focus back from the textarea
    230                         // to blink the cursor. (#5684)
    231                         if ( mode == 'text' && CKEDITOR.env.gecko )
    232                                 editor.document.getBody().focus();
     229                        // Restore properly the document focus. (#5684, #8849)
     230                        editor.document.getBody().focus();
    233231
    234232                        editor.removeListener( 'selectionChange', cancel );
    235233
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy