RE: Checking and upgrading the CKEditor version

Taruchit Goyal, modified 7 Years ago. Junior Member Posts: 60 Join Date: 3/16/18 Recent Posts

Hello All,

As I understand, each new version of Liferay uses an upgraded version of CKEditor.

Thus, please help with the steps to determine current version of the editor being used. 

And, if the current version is lower then the latest stable version, we may not be accessing the new functionalities. Thus, please help with ways to upgrade current CKEditor to next stable version.

 

Thanks

Taruchit Goyal

thumbnail
Alberto Chaparro, modified 7 Years ago. Liferay Master Posts: 560 Join Date: 4/25/11 Recent Posts
Hi Taruchit,

The version of Ckeditor which we use in Liferay 7.1 is 4.6.0:
https://github.com/liferay/liferay-portal/blob/7.1.x/modules/apps/frontend-editor/frontend-editor-ckeditor-web/build.gradle#L14

If you want to use another version I guess you will need to replace the current Ckeditor libraries in liferay-portal project and check if our adaptations still work with the new version.

I hope it helps.

​​​​​​​Cheers.
Amos Fong, modified 7 Years ago. Junior Member Posts: 60 Join Date: 3/16/18 Recent Posts
Hello Alberto,

Thank you for sharing your points the the URL of the code which loads the CKEditor.

As you suggested, to use another verison of CKEditor, we need to replace CKeditor libraries in liferay-portal folder, however, I am unable to find the same in my setup.
I tried searching for liferay-portal, but did not get the same.

I got com.liferay.frontend.editor.ckeditor.web-2.0.3 folder in work folder, where following three files were seen: -
1. ckeditor_jsp.class
2. init_jsp.class
3. resources.jsp.class

I have tried to make a customized CKEditor using https://ckeditor.com/ckeditor-4/download/#ckeditor4.
Please help to integrate the same with Liferay 7.1.

Regards
​​​​​​​Taruchit Goyal