- Issue created by @impol
- Merge request !6Issue #3414362 by impol: Allow to update Anchor Link to the latest version to work with CKEditor 5 → (Merged) created by impol
- Status changed to Needs review
10 months ago 3:28pm 12 January 2024 - 🇯🇴Jordan Rajab Natshah Jordan
Got that,
This is a good idea, Yauheni!
We may should do that with all required modules in the Varbase Editor9.1.x
to allow to upgrading to CKEditor 5 -
Rajab Natshah →
committed c12de864 on 9.1.x authored by
impol →
Issue #3414362 by impol: Allow to update Anchor Link to the latest...
-
Rajab Natshah →
committed c12de864 on 9.1.x authored by
impol →
- 🇯🇴Jordan Rajab Natshah Jordan
📌 Add the Anchor Link ~3 module and configure the CKEditor 5 Rich editor text format to use it Fixed
Add Varbase Editor requirements helper function for standard drupal profiles
Varbase Editor requires the CKEditor5 Anchor Drupal library.
Download it https://github.com/northernco/ckeditor5-anchor-drupal and place it in the
libraries folder (/libraries
).
Use the asset-packagist.org method:
Make sure to change repositories for Drupal and assets:"repositories": { "drupal": { "type": "composer", "url": "https://packages.drupal.org/8" }, "assets": { "type": "composer", "url": "https://asset-packagist.org" } },
Add the following in the root composer.json for the project
"installer-paths": { "docroot/libraries/ckeditor5-anchor-drupal": ["npm-asset/northernco--ckeditor5-anchor-drupal"],
And
"drupal-libraries": { "library-directory": "docroot/libraries", "libraries": [ {"name": "ckeditor5-anchor-drupal", "package": "npm-asset/northernco--ckeditor5-anchor-drupal"} ] },
No need to add anything else with Varbase Profile
If the project is a Standard Drupal profile is using Varbase Editor, you need to add the following too:
"npm-asset/northernco--ckeditor5-anchor-drupal": "^0.4.0"
- #3405895: Add the CKEditor5 Anchor Drupal library to be used with the Rich editor in Varbase Editor →
- Vardot/varbase-project - Add the installer path and drupal libraries directory for the npm-asset/northernco--ckeditor5-anchor-drupal library #204
- Vardot/platformsh-varbase - Add the installer path and drupal libraries directory for the npm-asset/northernco--ckeditor5-anchor-drupal library #16
- 🇯🇴Jordan Rajab Natshah Jordan
Moving to add the following directly in Varbase
9.1.x
"npm-asset/northernco--ckeditor5-anchor-drupal": "^0.4.0"
- #3405895: Add the CKEditor5 Anchor Drupal library to be used with the Rich editor in Varbase Editor →
- Vardot/varbase-project - Add the installer path and drupal libraries directory for the
npm-asset/northernco--ckeditor5-anchor-drupal library
#204 - Vardot/platformsh-varbase - Add the installer path and drupal libraries directory for the
npm-asset/northernco--ckeditor5-anchor-drupal
library #16
Having a soft release for Varbase Editor only for this change.
To help old websites to switch to CKEditor 5, which Updated old Varbase ~9.0.0 to ~9.1.0 composer.josn to Drupal 10 -
Rajab Natshah →
committed 93770e68 on 9.1.x
Issue #3414362: Move ckeditor:ckeditor from dependencies: to install:,...
-
Rajab Natshah →
committed 93770e68 on 9.1.x
- 🇯🇴Jordan Rajab Natshah Jordan
By adding the following into the
composer.json
in the project"drupal/anchor_link": "~3.0", "npm-asset/northernco--ckeditor5-anchor-drupal": "^0.4.0",
Making sure to have all in #7
Updater/Support are able to switch to CKEditor 5 and uninstall CKEditor 4 in Varbase
~9.1.0
updated sites
After uninstalling, with their filters or config in the Editors or Filter configsckeditor_media_embed
ckeditor_paste_filter
image_resize_filter
- Status changed to Fixed
10 months ago 4:41pm 15 January 2024 - 🇯🇴Jordan Rajab Natshah Jordan
Next steps
📌 Switch default config for Rich editor and Simple editor from CKEditor 4 to CKEditor 5 Active
- Switch default config for Rich editor and Simple editor from CKEditor 4 to CKEditor 5
- Update
CKEditor Media Embed Plugin →
to
~1.0 || ~2.0
- Remove the install for CKEditor Paste Filter → module - ( It is in CKEditor 5 )
- Remove the install for Image Resize Filter → module - ( Not needed in CKEditor 5 )
Automatically closed - issue fixed for 2 weeks with no activity.