#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: |
Description
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 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 Changed 13 years ago by
Sorry for the mistake, Alfonso. I got confused by the fact that width uses a CSS string, my bad.
Keep up the good work!
The docs state that those values must be numeric, not strings http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.resize_maxHeight
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.