Ticket #6655: 6655.patch

File 6655.patch, 1.2 KB (added by Sa'ar Zac Elias, 13 years ago)
  • _source/plugins/resize/plugin.js

     
    4040                                if ( resizeVertical )
    4141                                        height =  Math.max( config.resize_minHeight, Math.min( internalHeight, config.resize_maxHeight ) );
    4242
    43                                 editor.resize( width, height );
     43                                editor.resize( width, height, 0, 1 );
    4444                        }
    4545
    46                         function dragEndHandler ( evt )
     46                        function dragEndHandler( evt )
    4747                        {
    4848                                CKEDITOR.document.removeListener( 'mousemove', dragHandler );
    4949                                CKEDITOR.document.removeListener( 'mouseup', dragEndHandler );
  • _source/themes/default/theme.js

     
    306306        // resize it. If we don't, the browser crashes!
    307307        CKEDITOR.env.webkit && outer.setStyle( 'display', 'none' );
    308308        // Set as border box width. (#5353)
    309         outer.setSize( 'width',  width, true );
     309        outer.setSize( 'width', width, 1 );
    310310        if ( CKEDITOR.env.webkit )
    311311        {
    312312                outer.$.offsetWidth;
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy