Ticket #5622: 5622.patch

File 5622.patch, 792 bytes (added by Garry Yao, 14 years ago)
  • _source/plugins/wysiwygarea/plugin.js

     
    480480
    481481                                                focusTarget.on( 'focus', function()
    482482                                                        {
     483                                                                // Force the cursor blinking. (#5622
     484                                                                CKEDITOR.env.gecko && blinkCursor();
    483485                                                                editor.focusManager.focus();
    484486                                                        });
    485487
     
    764766                                                                        isPendingFocus = true;
    765767                                                                else if ( editor.window )
    766768                                                                {
     769                                                                        // [Webkit] Force the cursor blinking
     770                                                                        // when setting focus manually. (#5622)
     771                                                                        CKEDITOR.env.webkit && blinkCursor();
    767772                                                                        editor.window.focus();
    768773                                                                        editor.selectionChange();
    769774                                                                }
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy