Dolibarr / dolibarr

Dolibarr ERP CRM is a modern software package to manage your company or foundation's activity (contacts, suppliers, invoices, orders, stocks, agenda, accounting, ...). it's an open source Web application (written in PHP) designed for businesses of any sizes, foundations and freelancers.
https://www.dolibarr.org
GNU General Public License v3.0
5.4k stars 2.78k forks source link

Upgarde to CKEditor 5 because of EOL of V4 #26112

Open glu000 opened 1 year ago

glu000 commented 1 year ago

Feature Request

Dolibarr uses CKEditor 4 which reached EOL in June 2023

see https://ckeditor.com/docs/ckeditor4/latest/index.html

Use case

No response

Suggested implementation

Upgrade to CKEditor V5

Suggested steps

No response

rycks commented 11 months ago

Hello,

CKEditor 4 and CKEditor 5 are two different products. Here are the most important aspects you need to consider before you migrate.

and

Because of the differences in features, the data produced with CKEditor 4 may not be compatible with CKEditor 5 which may lead to data loss. Any data that is not supported by features enabled in CKEditor 5 will be removed when loaded into the editor.

Source: https://ckeditor.com/docs/ckeditor5/latest/updating/ckeditor4/migration-from-ckeditor-4.html

PlanPc commented 2 months ago

Dolibarr 19.0.2.

Alert message when selecting Full_inline editor at WYSYWYG module options.

This CKEditor 4.22.1 version is not secure. Consider upgrading to the latest one, 4.24.0-lts.

image

eldy commented 1 month ago

I think the warning (asking to switch to a paying version) is removed with 19.0.3. Can you check ?

PlanPc commented 1 month ago

I think the warning (asking to switch to a paying version) is removed with 19.0.3. Can you check ?

Soon I will update to 19.0.3, and later report here again after testing.

Thank you very much Laurent.

PlanPc commented 1 month ago

The message has changed slightly, but it still asks to upgrade, now to version 4.25.0-lts., before it asked for 4.24.0.lts, but presumably, the version of CKEditor that Dolibar has now, is still the same 4.22.1, just like in Dolibarr 19.0.2, so no chages appreciated.

This warning message is only showed when selecting Full_inline in the WYSIWYG module configuration, dont really know if can be shown in other places inside Dolibarr.

_

This CKEditor 4.22.1 version is not secure. Consider upgrading to the latest one, 4.25.0-lts.

_

Donwload last version from https://ckeditor.com/cke4/release/CKEditor-4.25.0-LTS Where they say: All editor versions below 4.25.0-lts can no longer be considered as secure! ⚠️

Direct link to download tar.gz file: CKEditor-4.25.0-LTS

imagen

aspangaro commented 1 month ago

I can confirm, I found this message displayed in a new migration to v19.0.3.

LTS license available until December 2026.

Maybe the time, we'll have to tackle the integration of CKE5...