View Issue Details

IDProjectCategoryView StatusLast Update
0000277Composrcns_forumpublic2012-02-19 19:15
ReporterMitraXAssigned ToChris Graham 
SeverityFeature-request 
Status closedResolutionwon't fix 
Product Version 
Fixed in Version 
Summary0000277: Forum message box (editor) can be resized out of form layout
DescriptionForum message box can be resized out of form layout so it cannot be resized again.

Steps To Reproduce1) 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 InformationExpected behavior: the message box cannot be larger than form size (width).
TagsNo tags attached.
Time estimation (hours)
Sponsorship open

Activities

MitraX

2011-07-21 14:29

reporter  

ResizingMessageField01_Before.png (Attachment missing)

MitraX

2011-07-21 14:29

reporter  

ResizingMessageField02_After.png (Attachment missing)

Chris Graham

2011-07-21 22:42

administrator   ~0000162

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).

DoDD

2011-07-26 11:36

reporter   ~0000167

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;
};

Chris Graham

2011-07-27 09:44

administrator   ~0000168

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.

Chris Graham

2012-02-19 19:15

administrator   ~0000335

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.

Issue History

Date Modified Username Field Change