How Do I Limit the Width and Height for CKEditor Resizing?

This website contains links to software which is either no longer maintained or will be supported only until the end of 2019 (CKFinder 2). For the latest documentation about current CKSource projects, including software like CKEditor 4/CKEditor 5, CKFinder 3, Cloud Services, Letters, Accessibility Checker, please visit the new documentation website.

If you look for an information about very old versions of CKEditor, FCKeditor and CKFinder check also the CKEditor forum, which was closed in 2015. If not, please head to StackOverflow for support.

CKEditor window can be resized if the resize plugin is enabled. You can however define the minimum and maximum dimensions to prevent the editor window from becoming too small or too big to handle.

To define the minimum editor dimensions after resizing, specify the resize_minWidth and resize_minHeight values in pixels.

config.resize_minWidth = 300;
config.resize_minHeight = 300;

To define the maximum editor dimensions after resizing, specify the resize_maxWidth and resize_maxHeight values in pixels.

config.resize_maxWidth = 800;
config.resize_maxHeight = 600;
This page was last edited on 10 February 2011, at 13:05.