Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Checking and upgrading the CKEditor version
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
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.
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.
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
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