How to fix 'This CKEditor 4.22.1 version is not secure. Consider upgrading to the latest one, 4.24.0-lts'
By FoxLearn 8/4/2024 7:47:06 AM 222
You can download the latest LTS (Long-Term Support) version, which should be 4.24.0-lts, then extract the downloaded CKEditor package.
Next, Replace the old CKEditor files in your project with the new files from the extracted package.
Adding config.versionCheck = false;
to your config.js
file in CKEditor can disable the version check notifications.
However, while this can stop the warning messages, it does not actually update your CKEditor to a secure version. It’s generally a good idea to address the security warning by upgrading to the latest version.
<script> jQuery(function ($) { CKEDITOR.replace('editor', { }); CKEDITOR.config.versionCheck = false; }); </script>
Html file
<textarea id="editor" class="form-control"></textarea>
Find the config.js
file in your CKEditor directory. This file is typically found in the root of the CKEditor installation directory.
// ckeditor/config.js CKEDITOR.editorConfig = function( config ) { config.versionCheck = false; };