[SOLVED]CKEditor

Moderator: crythias

Locked
abelic
Znuny newbie
Posts: 24
Joined: 30 Jun 2017, 17:07
Znuny Version: 6.4
Real Name: Aleksandar Belic
Company: CP

[SOLVED]CKEditor

Post by abelic »

Hi,

Is it possible to upgrade CKEditor in OTRS 5.0.14, and to use some of the add-ons that the software offers? CKEditor in OTRS is not so good when it comes to resizing and designing tables. Also, when you browse the CKEditor website, it can be seen that the software itself offers many more options that do not exist in OTRS despite enhanced mode enabled.

Thanks

Regards,
Sasha
Last edited by abelic on 20 Feb 2020, 10:32, edited 1 time in total.
Znuny 6.4, CentOS7, MariaDB
zzz
Znuny superhero
Posts: 914
Joined: 15 Dec 2016, 15:13
Znuny Version: All
Real Name: Emin
Company: Efflux GmbH
Contact:

Re: CKEditor

Post by zzz »

Hello Sasha,

You can enable some features by activating the system configuration 'Frontend::RichText::EnhancedMode'.
Other features can only be activated via development.

Best regards
Emin
Professional Znuny and OTRS services: efflux.de | efflux.de/en/

Free and premium add-ons: German | English
abelic
Znuny newbie
Posts: 24
Joined: 30 Jun 2017, 17:07
Znuny Version: 6.4
Real Name: Aleksandar Belic
Company: CP

Re: CKEditor

Post by abelic »

Hello Emin,

Thanks for your reply.

Enhanced mode is already on. I was thinking about developing. Can you give me some explanation/direction, it just needs to be done by applying a newer version of CKEditor and setting OTRS to accept upgrade, or is it necessary changing the core of OTRS and the database.

Thanks.

Regards,
Sasha
Znuny 6.4, CentOS7, MariaDB
zzz
Znuny superhero
Posts: 914
Joined: 15 Dec 2016, 15:13
Znuny Version: All
Real Name: Emin
Company: Efflux GmbH
Contact:

Re: CKEditor

Post by zzz »

It's been some time since I change something in CKEditor...

You'll have to download the desired version (probably CKEditor 5) into otrs/var/httpd/htdocs/js/thirdparty/ and change the path in the system configuration. You can do that by searching for CKEditor.
CKEditor changes can be done in otrs/var/httpd/htdocs/js/Core.UI.RichTextEditor.js
I am, however, not sure if that will break your editor or if other changes have to be made.

Just get sure to work on a test environment.

4.7 is the most recent version in OTRS 6. If that's enough, you can just update your system.

Best regards
Emin
Professional Znuny and OTRS services: efflux.de | efflux.de/en/

Free and premium add-ons: German | English
abelic
Znuny newbie
Posts: 24
Joined: 30 Jun 2017, 17:07
Znuny Version: 6.4
Real Name: Aleksandar Belic
Company: CP

Re: CKEditor

Post by abelic »

Emin,

With the developer, I'll see what he can do for CKEditor. I thought we could only use plugins for a version that is already in OTRS (say for resizing the table ..etc) but I'm not sure if OTRS will throw some bugs on this change. OTRS version 5 and 6 has the same CKEditor configuration, without plugins, it's not what we need.

Thank you for your help.

Best regards,
Sasha
Znuny 6.4, CentOS7, MariaDB
Locked