Ticket #5660: 5560.patch

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

     
    8080
    8181        function refreshCursor( editor )
    8282        {
     83                // Refresh 'contentEditable' otherwise
     84                // DOM lifting breaks design mode. (#5560)
     85                var body = editor.document.getBody();
     86                body.setAttribute( 'contentEditable', false );
     87                body.setAttribute( 'contentEditable', true );
     88
    8389                if ( editor.focusManager.hasFocus )
    8490                {
    8591                        var focusGrabber = editor.container.append( CKEDITOR.dom.element.createFromHtml(
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy