#277 - Forum message box (editor) can be resized out of form layout
0 guests and 0 members have recently viewed this.
The top 3 point earners from 14th Dec 2025 to 21st Dec 2025.
| PDStig |
|
|
|---|---|---|
| Gabri |
|
|
| sholzy |
|
|
There are no events at this time
// To disable resizing
CKEDITOR.editorConfig = function( config )
{
config.resize_enabled = false;
};
// To adjust the size
CKEDITOR.editorConfig = function( config )
{
// Sizes are in pixels
// config.resize_minWidth = 550;
config.resize_maxWidth = 500;
// config.resize_minHeight = 200;
// config.resize_maxHeight = 500;
};
That is, if the browser window is resized, the editor width would be too narrow.
We'd therefore have to set up an event listener to accomodate for that, but then we'd be modifying CKEditor which is something we really want to avoid, as it means forking it further.