MantisBT - TestLink
View Issue Details
0008654TestLinkGUIpublic2019-05-02 14:142019-05-06 08:40
1.9.19 (2019 Q1) 
0008654: CKEditor resize_dir not working properly
After upgrading from 1.9.16 to 1.9.19 I noticed that the text areas are no longer horizontally resizable, while editing a TC for example.

I went through the template files and managed to locate CKEditor's folder and config file (/third_party\ckeditor\config.js), but nothing changed after adding the config "config.resize_dir = 'both';" .

I also noticed that the version specified in ckeditor.js is 4.6.1, while my previous installation (1.9.16) was 4.7.2.

What am I missing here?

Thanks in advance.
Edit a test case, try to resize the text-area horizontally.
No tags attached.
Issue History
2019-05-02 14:14EDTNew Issue
2019-05-02 15:14EDTNote Added: 0028805
2019-05-02 16:15fmanNote Added: 0028806
2019-05-03 08:02EDTNote Added: 0028809
2019-05-03 16:15EDTNote Added: 0028811
2019-05-03 17:06fmanNote Added: 0028812
2019-05-06 08:40EDTNote Edited: 0028811bug_revision_view_page.php?bugnote_id=28811#r5835

2019-05-02 15:14   
update: I was wrong about the CKEditor version. Both 1.9.16 and 1.9.19 use CKEditor 4.6.1, I've downloaded the installation files and confirmed this.

I have two TestLink installations in separate machines, the one I was testing had the newest CKEditor version (4.7.2) on the 1.9.16 TL backup, the other has the same CKEditor version (4.6.1) both in the 1.9.16 backup and 1.9.19 versions. A former member of my team must have upgrade the CKEditor in the past, since it fixes a lot of issues.

I tried to apply the CKEditor 4.7.2 version again but the text-area is not rendered using Edge, with Chrome it's rendered but the resizing problem is still present...
2019-05-02 16:15   
Thanks for the update.
I've never pay attention to this behaviour.
Just to clarify:
if you use 4.6.1 in any testlink version the issue is not present?
2019-05-03 08:02   
Using 4.6.1 the issue is always present.
I'll try to update CKEditor to a newer version, but I don't understand why the config.resize_dir property doesn't work.

I'll try to update to a newer version of CKEditor, otherwise I might try to use another web_editor and see its behaviour.
2019-05-03 16:15   
(edited on: 2019-05-06 08:40)
New update: I've managed to use the latest CKEditor version after changing some other files (this link helped a lot - [^]).

However, now I realize that the changes in the config.js file are not reflected in TL, I believe this happens because the CKEditor is used like this, in /lib/third_party/ckeditor/ckeditor.class.php:

$Html = $this->Editor->editor($this->InstanceName, $this->Value, $config = array());

I get the desired behaviour if I use instead:

config = array('resize_dir'=>"both");
$Html = $this->Editor->editor($this->InstanceName, $this->Value, $config);

2019-05-03 17:06   
Thanks for sharing