Add the CKEditor 5 Anchor Link for Drupal library

Created on 21 January 2024, 11 months ago

Problem/Motivation

Allow to update Anchor Link to the latest version to work with CKEditor 5 Fixed

Proposed resolution

📌 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"

Remaining tasks

  • ✅ File an issue about this project
  • ❌ Addition/Change/Update/Fix to this project
  • ❌ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support on feature change/addition
  • ➖ User Guide Documentation support on feature change/addition
  • ➖ UX/UI designer responsibilities
  • ➖ Accessibility and Readability
  • ❌ Code review from 1 Varbase core team member
  • ❌ Full testing and approval
  • ❌ Credit contributors
  • ❌ Review with the product owner
  • ❌ Update Release Notes and Update Helper on new feature change/addition
  • ❌ Release

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • N/A
📌 Task
Status

Active

Version

9.1

Component

Code

Created by

🇯🇴Jordan Rajab Natshah Jordan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024