Switch from CKEditor 4 to CKEditor 5 in Varbase ~9.1.0
Last updated
Last updated
CKEditor 4 - WYSIWYG HTML editor Project not supported: This project is no longer supported, and is no longer available for download. Disabling everything included by this project is strongly recommended!
Default Varbase 9.1.x
is using Varbase Editor 9.2.x
with CKEditor 5
✅ Released varbase_editor-9.2.0
Issue #3442752: Started a new 9.2.x
branch for Varbase Editor to support CKEditor 5 and drop support for CKEditor 4
Use "Vardot/varbase-patches": "~9.1.0"
in the root composer.json
file.
with Varbase
~9.1.0
CKEditor4
and Drupal10
To keep using CKEditor 4 you need the following in the root composer.json
file
"vardot/varbase-patches": "~9.1.0"
"drupal/varbase_editor": "~9.1.0"
This module is for CKEditor 4 only. For CKEditor 5 need to use CKEditor 5 Paste Filter
No support for CKEditor 5. No plan for that.
Remove the "Image Resize Filter: Resize images based on their given height and width attributes" check in Rich editor, and Simple Editor, then uninstall it
Disable this plugin inside the Simple editor and Rich editor before uninstalling the module to avoid issue: image_resize_filter: Provides a filter plugin that is in use in the following filter formats: Simple editor, Rich editor
Use "Vardot/varbase-patches": "~9.2.0"
in the root composer.json
file.
with Varbase
~9.1.0
CKEditor5
and Drupal10
Make sure to have the following in your system:
"vardot/varbase-patches": "~9.2.0"
"drupal/varbase_editor": "~9.2.0"
Filter content pasted into the CKEditor 5 visual editor by searching and replacing with the power of regular expressions.
This is a CKEditor 5 version of CKEditor Paste Filter with additional features, most notably that the filters are fully configurable via a form interface and the filters can be configured individually for each text format. This module has been created as a separate project so that sites that are transitioning over to CKEditor 5 can have both modules installed easily, and to allow this project to evolve without needing to maintain compatibility with both CKEditor 4 and 5.
Navigate to "/admin/config/content/formats/manage/full_html"
Select "CKEditor 5" from "Text editor" dropdown.
Follow up with the needed changes then save configuration
Navigate to "/admin/config/content/formats/manage/basic_html"
Select "CKEditor 5" from "Text editor" dropdown.
Follow up with the needed changes then save configuration
At Some point you will need to remove drupal/ckeditor
module from the project, and make sure that it is no longer installed.
In case of having extra CKEditor plugins, further than the ones in Varbase Editor, follow with each plugin command button, action, filter. With the new update version
This will for sure, manage to have the full switch from CKEditor 4 to CKEditor 5
Manage the stylesheets for the editor in project's sub theme
Issue #3346060: Changed ckeditor5-stylesheets
to false
in Vartheme BS5 not to load with the admin theme