Page 1 of 1
[SOLVED] How update CKEditor 4.22.1 to the latest one, in OpenCart 4.0.2.3
Posted: Sat Jul 13, 2024 3:31 am
by stanmx
Hi everyone,
Recently updating a product I receive the next alert:
"This CKEditor 4.22.1 version is not secure. Consider upgrading to the latest one, 4.24.0-lts."
How can I do this? Any suggestion is welcome. Thank you!
Re: How update CKEditor 4.22.1 to the latest one, in OpenCart 4.0.2.3
Posted: Sat Jul 13, 2024 5:26 am
by ADD Creative
Re: How update CKEditor 4.22.1 to the latest one, in OpenCart 4.0.2.3
Posted: Sun Jul 14, 2024 12:06 am
by stanmx
Thank you ADD creative, I'll check it.
Re: How update CKEditor 4.22.1 to the latest one, in OpenCart 4.0.2.3
Posted: Sun Jul 14, 2024 1:39 am
by Jaesin
Is there a path to bring a full version of CK Editor in (with modules)?
Re: How update CKEditor 4.22.1 to the latest one, in OpenCart 4.0.2.3
Posted: Sun Jul 14, 2024 2:32 pm
by xxvirusxx
Jaesin wrote: ↑Sun Jul 14, 2024 1:39 am
Is there a path to bring a full version of CK Editor in (with modules)?
What? OC 4 already has ckeditor
Re: How update CKEditor 4.22.1 to the latest one, in OpenCart 4.0.2.3
Posted: Sun Jul 14, 2024 4:20 pm
by stanmx
ADD Creative, SOLVED. Thank you for shared the link, this help me a lot.
Re: How update CKEditor 4.22.1 to the latest one, in OpenCart 4.0.2.3
Posted: Mon Jul 15, 2024 1:11 am
by Jaesin
xxvirusxx wrote: ↑Sun Jul 14, 2024 2:32 pm
Jaesin wrote: ↑Sun Jul 14, 2024 1:39 am
Is there a path to bring a full version of CK Editor in (with modules)?
What? OC 4 already has ckeditor
Yes, but the version natively installed is the basic version, and not the full version of CKeditor 4 that includes all the plugins.
I am interested to know if there are any directions or steps to being the full version in...
Re: [SOLVED] How update CKEditor 4.22.1 to the latest one, in OpenCart 4.0.2.3
Posted: Mon Jul 15, 2024 3:34 am
by IP_CAM
As far as I know, the full Version ckeditor does not come for free. Check this Site for more infos on this:
https://ckeditor.com/cke4/release/CKEditor-4.24.0-LTS
Re: [SOLVED] How update CKEditor 4.22.1 to the latest one, in OpenCart 4.0.2.3
Posted: Mon Jul 15, 2024 6:36 am
by Jaesin
You are correct, the LTS version is paid, but the opensource is not.
https://ckeditor.com/cke4/builder
Re: How update CKEditor 4.22.1 to the latest one, in OpenCart 4.0.2.3
Posted: Mon Jul 15, 2024 3:10 pm
by xxvirusxx
Jaesin wrote: ↑Mon Jul 15, 2024 1:11 am
Yes, but the version natively installed is the basic version, and not the full version of CKeditor 4 that includes all the plugins.
I am interested to know if there are any directions or steps to being the full version in...
Edit config.js from ckeditor and comment out this line
and these lines
Code: Select all
config.toolbar_Custom = [
['Source'],
['ShowBlocks'],
['Maximize'],
['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
['NumberedList','BulletedList','-','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['SpecialChar'],
'/',
['Undo','Redo'],
['Format','Font','FontSize'],
['TextColor','BGColor'],
['Link','Unlink','Anchor'],
['Image','OpenCart','Table','HorizontalRule']
];
Re: How update CKEditor 4.22.1 to the latest one, in OpenCart 4.0.2.3
Posted: Mon Jul 15, 2024 8:42 pm
by Jaesin
xxvirusxx wrote: ↑Mon Jul 15, 2024 3:10 pm
Jaesin wrote: ↑Mon Jul 15, 2024 1:11 am
Yes, but the version natively installed is the basic version, and not the full version of CKeditor 4 that includes all the plugins.
I am interested to know if there are any directions or steps to being the full version in...
Edit config.js from ckeditor and comment out this line
and these lines
Code: Select all
config.toolbar_Custom = [
['Source'],
['ShowBlocks'],
['Maximize'],
['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
['NumberedList','BulletedList','-','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['SpecialChar'],
'/',
['Undo','Redo'],
['Format','Font','FontSize'],
['TextColor','BGColor'],
['Link','Unlink','Anchor'],
['Image','OpenCart','Table','HorizontalRule']
];
Greatly appreciated.. I had not thought that the entire package was loaded, just limited in the display of the tools!
Will try later today.,
Re: [SOLVED] How update CKEditor 4.22.1 to the latest one, in OpenCart 4.0.2.3
Posted: Mon Sep 16, 2024 8:10 am
by rmullaney77
See:
https://github.com/opencart/opencart/co ... c9ef491cf2
File:
admin/view/javascript/ckeditor/config.js
Find:
config.resize_dir = 'vertical';
Add:
config.versionCheck = false;