LinkIt requires new minor version for Drupal 10.1.x, since CKEditor 5 got a major version update (v35 → v36)

Created on 24 March 2023, over 1 year ago
Updated 16 June 2023, over 1 year ago

After updating to latest Drupal 10.0.6 (which introduces a new release of ckeditor5) ckeditor5 doesn't work anymore when the linkit plugin is enabled.

The error logged on the browser console is:

TypeError: i is null
    _enableLinkAutocomplete https://example.ddev.site/modules/contrib/linkit/js/build/linkit.js?v=10.0.6:1
    init https://example.ddev.site/modules/contrib/linkit/js/build/linkit.js?v=10.0.6:1
    promise callback*./packages/ckeditor5-core/src/index.ts/init/p/< https://example.ddev.site/core/assets/vendor/ckeditor5/ckeditor5-dll/ckeditor5-dll.js?v=36.0.1:5
    p https://example.ddev.site/core/assets/vendor/ckeditor5/ckeditor5-dll/ckeditor5-dll.js?v=36.0.1:5
    init https://example.ddev.site/core/assets/vendor/ckeditor5/ckeditor5-dll/ckeditor5-dll.js?v=36.0.1:5
    initPlugins https://example.ddev.site/core/assets/vendor/ckeditor5/ckeditor5-dll/ckeditor5-dll.js?v=36.0.1:5
    create https://example.ddev.site/core/assets/vendor/ckeditor5/editor-classic/editor-classic.js?v=36.0.1:4
    create https://example.ddev.site/core/assets/vendor/ckeditor5/editor-classic/editor-classic.js?v=36.0.1:4
    attach https://example.ddev.site/core/modules/ckeditor5/js/ckeditor5.js?rs17v0:371
    editorAttach https://example.ddev.site/core/modules/editor/js/editor.js?v=10.0.6:300
    success https://example.ddev.site/core/modules/editor/js/editor.js?v=10.0.6:57
    jQuery 6
    filterXssWhenSwitching https://example.ddev.site/core/modules/editor/js/editor.js?v=10.0.6:44
    changeTextEditor https://example.ddev.site/core/modules/editor/js/editor.js?v=10.0.6:93
📌 Task
Status

Fixed

Version

6.1

Component

Code

Created by

🇮🇹Italy finex

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

Comments & Activities

Production build 0.71.5 2024