Ticket #6308: 6308.patch

File 6308.patch, 589 bytes (added by Garry Yao, 12 years ago)
  • _source/plugins/resize/plugin.js

     
    4444                                if ( resizeVertical )
    4545                                        height =  Math.max( config.resize_minHeight, Math.min( internalHeight, config.resize_maxHeight ) );
    4646
    47                                 editor.resize( width, height );
     47                                // DO NOT impose fixed size with single direction resize. (#6308)
     48                                editor.resize( resizeHorizontal? width : null, height );
    4849                        }
    4950
    5051                        function dragEndHandler ( evt )
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy