Ticket #6000: 6000.patch

File 6000.patch, 840 bytes (added by Sa'ar Zac Elias, 14 years ago)
  • _source/plugins/wysiwygarea/plugin.js

     
    463463                                                });
    464464
    465465                                                // Gecko/Webkit need some help when selecting control type elements. (#3448)
    466                                                 if ( !( CKEDITOR.env.ie || CKEDITOR.env.opera) )
     466                                                if ( !( CKEDITOR.env.ie || CKEDITOR.env.opera ) )
    467467                                                {
    468468                                                        domDocument.on( 'mousedown', function( ev )
    469469                                                        {
     
    556556
    557557                                                                        doc.getDocumentElement().focus();
    558558                                                                        range && range.select();
     559
     560
     561                                                                        // The frame will scroll to top on focus (#6000)
     562                                                                        sel && setTimeout( function(){ sel.scrollIntoView(); }, 0 );
    559563                                                                }
    560564
    561565                                                                editor.focusManager.focus();
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy