JS Error when loading CKeditor 5 with active Highlight Plugin under Drupal 10.1

Created on 26 July 2023, over 1 year ago
Updated 18 November 2023, about 1 year ago

Probably with the Drupal Core Update from 10.0.8 to 10.1.1, the CKEditor is no longer displayed if the Highlight Plugin is activated. This also leads to the CKeditor not being loaded/displayed at all due to the Javascript error.

ckeditor5.js?ryekvm:472 TypeError: Cannot set properties of undefined (setting 'ariaLabel')
    at Object.callback (highlight.js?ryekvm:1:12798)
    at $t.create (ckeditor5-dll.js?v=38.1.0:5:496934)
    at ckeditor5-dll.js?v=38.1.0:5:474313
    at Array.map (<anonymous>)
    at Ie._buildItemsFromConfig (ckeditor5-dll.js?v=38.1.0:5:474221)
    at Ie.fillFromConfig (ckeditor5-dll.js?v=38.1.0:5:474079)
    at n._initToolbar (editor-classic.js?v=38.1.0:4:6492)
    at n.init (editor-classic.js?v=38.1.0:4:6079)
    at editor-classic.js?v=38.1.0:4:9650

Current : Switch back to Drupal Core 10.0.x

🐛 Bug report
Status

Fixed

Version

1.1

Component

Code

Created by

🇩🇪Germany cbeier

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024