Post by stanmx » Sat Jul 13, 2024 3:31 am

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!

Attachments

Screen Shot 2024-07-12 at 12.25.19 PM.png

Screen Shot 2024-07-12 at 12.25.19 PM.png (38.7 KiB) Viewed 2423 times

Last edited by stanmx on Sun Jul 14, 2024 4:20 pm, edited 1 time in total.

User avatar
New member

Posts

Joined
Wed Apr 10, 2024 9:48 am
Location - Tijuana, MX

Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by stanmx » Sun Jul 14, 2024 12:06 am

ADD Creative wrote:
Sat Jul 13, 2024 5:26 am
https://github.com/opencart/opencart/issues/14032 might help you.
Thank you ADD creative, I'll check it.

User avatar
New member

Posts

Joined
Wed Apr 10, 2024 9:48 am
Location - Tijuana, MX

Post by Jaesin » Sun Jul 14, 2024 1:39 am

Is there a path to bring a full version of CK Editor in (with modules)?

New member

Posts

Joined
Wed Aug 23, 2017 11:31 pm

Post by xxvirusxx » 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

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by stanmx » Sun Jul 14, 2024 4:20 pm

ADD Creative wrote:
Sat Jul 13, 2024 5:26 am
https://github.com/opencart/opencart/issues/14032 might help you.
ADD Creative, SOLVED. Thank you for shared the link, this help me a lot.

User avatar
New member

Posts

Joined
Wed Apr 10, 2024 9:48 am
Location - Tijuana, MX

Post by Jaesin » Mon Jul 15, 2024 1:11 am

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...

New member

Posts

Joined
Wed Aug 23, 2017 11:31 pm

Post by IP_CAM » Mon Jul 15, 2024 3:34 am

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

My Github OC Site: https://github.com/IP-CAM
5'500 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by Jaesin » Mon Jul 15, 2024 6:36 am

IP_CAM wrote:
Mon Jul 15, 2024 3:34 am
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
You are correct, the LTS version is paid, but the opensource is not.
https://ckeditor.com/cke4/builder

New member

Posts

Joined
Wed Aug 23, 2017 11:31 pm

Post by xxvirusxx » 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

Code: Select all

config.toolbar = 'Custom'; 
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']
	];

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by Jaesin » Mon Jul 15, 2024 8:42 pm

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

Code: Select all

config.toolbar = 'Custom'; 
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.,

New member

Posts

Joined
Wed Aug 23, 2017 11:31 pm

Post by rmullaney77 » Mon Sep 16, 2024 8:10 am

See: https://github.com/opencart/opencart/co ... c9ef491cf2

File: admin/view/javascript/ckeditor/config.js

Find:
config.resize_dir = 'vertical';

Add:
config.versionCheck = false;

User avatar
Active Member

Posts

Joined
Fri Nov 19, 2010 2:08 am
Location - Fort Payne, Alabama
Who is online

Users browsing this forum: No registered users and 14 guests