|Anonymous | Login | Signup for a new account||2019-09-15 23:11 UTC|
|Main | My View | View Issues | Change Log | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0008654||TestLink||GUI||public||2019-05-02 14:14||2019-05-06 08:40|
|Product Version||1.9.19 (2019 Q1)|
|Fixed in Version|
|Summary||0008654: CKEditor resize_dir not working properly|
|Description||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.
|Steps To Reproduce||Edit a test case, try to resize the text-area horizontally.|
|Tags||No tags attached.|
|QA Team - Task Workflow Status|
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...
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?
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.
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 - https://github.com/TestLinkOpenSourceTRMS/testlink-code/commit/4801a06f3eb962cae2e88022a20dbc85ca3cb209 [^]).
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);
Thanks for sharing
|2019-05-02 14:14||EDT||New Issue|
|2019-05-02 15:14||EDT||Note Added: 0028805|
|2019-05-02 16:15||fman||Note Added: 0028806|
|2019-05-03 08:02||EDT||Note Added: 0028809|
|2019-05-03 16:15||EDT||Note Added: 0028811|
|2019-05-03 17:06||fman||Note Added: 0028812|
|2019-05-06 08:40||EDT||Note Edited: 0028811||View Revisions|
|Copyright © 2000 - 2019 MantisBT Team|