Upgrade CKEditor to match Drupal core at 41.3.1

Created on 11 April 2025, 13 days ago

Problem/Motivation

Drupal core is at CKEditor5 v41.3.1.

Editor Advanced Link is currently at CKEditor5 v35.1.0

Steps to reproduce

As determined from web/core/yarn.lock, and this module's yarn.lock.

Proposed resolution

Upgrade dependencies, especially CKEditor5 to match Drupal core.

✨ Feature request
Status

Active

Version

2.2

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jcandan

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

Comments & Activities

  • Issue created by @jcandan
  • πŸ‡ΊπŸ‡ΈUnited States jcandan

    Running through CKEditor 5 development β†’ docs, when I am on v35.1.0, the yarn install command fails with:

    error @es-joy/jsdoccomment@0.36.1: The engine "node" is incompatible with this module. Expected version "^14 || ^16 || ^17 || ^18 || ^19". Got "22.14.0"

    When I am on 41.3.1, this error does not occur.

    • duaelfr β†’ committed 73e84157 on 2.2.x
      Issue #3518769 by jcandan, duaelfr: Upgrade CKEditor to match Drupal...
  • πŸ‡«πŸ‡·France duaelfr Montpellier, France

    Thank you!

  • πŸ‡ΊπŸ‡ΈUnited States jcandan

    This introduced duplicate, higher version than core in yarn.lock file:

    "@ckeditor/ckeditor5-core@41.3.1":
      version "41.3.1"
      resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-core/-/ckeditor5-core-41.3.1.tgz#b4bf65cc1a291d78d9e47269ae159aec1451d99b"
      integrity sha512-h+PgPtCpS2vjO3HbKMYtddRPW+B3AJx9qpixmHJnUZMiFCmRjUZjXATjpi3j+kSQISs4L2Yghq+lsAQxyGHb+A==
      dependencies:
        "@ckeditor/ckeditor5-engine" "41.3.1"
        "@ckeditor/ckeditor5-utils" "41.3.1"
        lodash-es "4.17.21"
    
    "@ckeditor/ckeditor5-core@41.4.2":
      version "41.4.2"
      resolved "https://registry.yarnpkg.com/@ckeditor/ckeditor5-core/-/ckeditor5-core-41.4.2.tgz#0779a727b0238368fc09ee4ec855536ea1ab24db"
      integrity sha512-kCIJjviiMNIMBMx7XFXFp1IeTELQKv7xyPJiVFDyUftIfthf9uWty72ipZ3BBNBGBkaoTiSzDZ507EsX6czuIQ==
      dependencies:
        "@ckeditor/ckeditor5-engine" "41.4.2"
        "@ckeditor/ckeditor5-utils" "41.4.2"
        lodash-es "4.17.21"
    

    Perhaps, to ensure we match core, we should remove the open constraint (~) on ckeditor5.

  • πŸ‡ΊπŸ‡ΈUnited States jcandan

    You may need to run Yarn's yarn dedupe command to potentially consolidate the package to a single version if the versions are compatible.

Production build 0.71.5 2024