Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#9064 closed Bug (invalid)

resize_maxWidth and resize_maxHeight not working

Reported by: Héctor Owned by:
Priority: Normal Milestone:
Component: General Version: 3.6.3
Keywords: Cc:


The resize options (resize_maxWidth and resize_maxHeight) don't work as expected, and they are completely broken in IE8.

Start a CKEditor instance with these options (or just one of them):

CKEDITOR.replace( 'editor1', {

"resize_maxWidth": "700px", "resize_maxHeight": "600px"


In IE8, an invalid argument error appears as soon as the user tries to resize the editor.

In other browsers no error appears but the editor doesn't behave as expected: if resize_maxWidth is specified it's impossible to resize the editor horizontally, if resize_maxHeight is specified the editor cant' be resized vertically.

I have reproduced this in the latest nightly build.

Change History (2)

comment:1 Changed 12 years ago by Alfonso Martínez de Lizarrondo

Resolution: invalid
Status: newclosed

The docs state that those values must be numeric, not strings

and remember that there's a default value of 750 for resize_minWidth, so if you don't change that you'll get an editor that can't be resized horizontaly.

comment:2 Changed 12 years ago by Héctor

Sorry for the mistake, Alfonso. I got confused by the fact that width uses a CSS string, my bad.

Keep up the good work!

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy