View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000277 | Composr | cns_forum | public | 2011-07-21 14:29 | 2012-02-19 19:15 |
| Reporter | MitraX | Assigned To | Chris Graham | ||
| Severity | Feature-request | ||||
| Status | closed | Resolution | won't fix | ||
| Product Version | |||||
| Fixed in Version | |||||
| Summary | 0000277: Forum message box (editor) can be resized out of form layout | ||||
| Description | Forum message box can be resized out of form layout so it cannot be resized again. | ||||
| Steps To Reproduce | 1) Create new forum topic (or replay to existing one) 2) Click and hold lower right corner of the message box 3) Drag to resize message box to the right (out of the form layout) 4) Release mouse button 5) Try to resize the message box again. It is not possible because its right margin is out of the form (see attached screenshots) | ||||
| Additional Information | Expected behavior: the message box cannot be larger than form size (width). | ||||
| Tags | No tags attached. | ||||
| Time estimation (hours) | |||||
| Sponsorship open | |||||
|
|
|
|
|
|
|
|
You may want to report this over with the CKEditor people, it's out of our scope really (don't want to take up responsibility for CKEditor usability). |
|
|
The CKEditor config file could be changed in order to control the editor's behaviour. Examples: // 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; }; |
|
|
Ah, that helps! However it can only be hard-coded if Composr is set to fixed width. It may be possible to do findWidth(element) on the containing box. If you want to make a patch, it would be gladly accepted, it's just too low priority for me. |
|
|
Closing this, as it's a minor problem IMO, and solving it would create a bigger one. 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. |