adaptlearning / adapt_authoring

A server-based user interface for authoring eLearning courses using the Adapt framework.
https://www.adaptlearning.org/
GNU General Public License v3.0
515 stars 278 forks source link

CKEditor started to show a warning - Needs a quick replacement #2772

Open cksachdev opened 1 month ago

cksachdev commented 1 month ago

Expected Behaviour

CKEditor which is used to edit the Body in almost all entities started to show warning message.

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

image

Actual Behaviour

There shouldn't be a warning and editor should work as expected.

Steps to Reproduce

  1. Open any component and focus on Editor view of body property

Note: A quick way to suppress the warning is by adding versionCheck:false in frontend/src/modules/scaffold/backboneFormsOverrides.js line 71.

sebj8 commented 1 month ago

The solution did not work for me. I used instead: CKEDITOR.config.versionCheck = false; in line 13 of the same file (backboneFormsOverrides.js)

Remember to use npx grunt build:prod after change src

oliverfoster commented 1 month ago

Ref: https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-fq6h-4g8v-qqvm