How to enable horizontal resize in CKEditor V4 OTRS 3.2.x

Dont create your support topics here! No new topics with questions allowed!

Moderator: crythias

Forum rules
Dont create your support topics here! No new topics with questions allowed!
Post Reply
fnold
Znuny newbie
Posts: 12
Joined: 16 Jul 2010, 23:35
Znuny Version: 3.0.11

How to enable horizontal resize in CKEditor V4 OTRS 3.2.x

Post by fnold »

By default the Richtext editor field in OTRS can be resized only vertically. (This is a problem for some of our Agents).

Horizontal resize can be enabled in ~/var/httpd/htdocs/js/Core.UI.RichTextEditor.js

Make a backup of ~/var/httpd/htdocs/js/Core.UI.RichTextEditor.js and just add the following two lines of code after the line Editor = CKEDITOR.replace(EditorID, {

Code: Select all

            resize_enabled:  true,
            resize_dir: 'both',
( Afterwards deleting the cache might be neccessary ~/bin/otrs.LoaderCache -o Delete )
Regards,
Florian
--------------------------------------------------------------
OTRS 3.1.11, ITSM 3.1.7, SLES 10SP4, MySQL (under VMware ESX 4) connected to LDAP for Agents and Customers.
(ab 3.Mai.2013: OTRS 3.2.6 ITSM 3.2.4, MySQL (under VMware ESX 4) connected to LDAP for Agents and Customers.
DBSRAJW
Znuny newbie
Posts: 23
Joined: 25 Jul 2014, 15:39
Znuny Version: 3.3.12

Re: How to enable horizontal resize in CKEditor V4 OTRS 3.2.x

Post by DBSRAJW »

oh, how long I have searched for that solution...: thank you very much for providing the manual.
Several of my users have been claming the same issue hardly and solution is that easy. Works like a charm.
OTRS version: 3.3.12
Operating System: VM / Debian7
Database type: MySQL
hatchmiw
Znuny newbie
Posts: 1
Joined: 10 May 2016, 23:05
Znuny Version: 5.09-01

Re: How to enable horizontal resize in CKEditor V4 OTRS 3.2.x

Post by hatchmiw »

Thank you for the post Florian. This has been bothering me for awhile..
Post Reply