D11.2: Uncaught CKEditorError: Cannot read properties of undefined (reading 'viewUid')

Created on 20 June 2025, 4 days ago

Problem/Motivation

After upgrading to Drupal 11.2, this module stopped working.

ckeditor5-dll.js?v=45.2.0:5 Uncaught CKEditorError: Cannot read properties of undefined (reading 'viewUid')
Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#erro... read properties of undefined (reading 'viewUid')
at i._remove (ckeditor5-dll.js?v=45.2.0:5:667561)
at i.remove (ckeditor5-dll.js?v=45.2.0:5:665460)
at i.remove (ckeditor5-dll.js?v=45.2.0:5:631088)
at editorAdvancedLink.js?v=11.2.0:1:11195
at Array.forEach ()
at h._addGroupsToFormView (editorAdvancedLink.js?v=11.2.0:1:11167)
at C. (editorAdvancedLink.js?v=11.2.0:1:10076)
at C.fire (ckeditor5-dll.js?v=45.2.0:5:639290)
at C.set [as visibleView] (ckeditor5-dll.js?v=45.2.0:5:641653)
at C._showView (ckeditor5-dll.js?v=45.2.0:5:607964)

When using it, the links don't properly fill the information and you get a javascript console error

Steps to reproduce

* Have a Drupal 11.2 site with the module enabled.
* Try to create links.
* Update existing links with custom CSS classes (text format config).

πŸ› Bug report
Status

Active

Version

2.2

Component

Code

Created by

πŸ‡¨πŸ‡·Costa Rica alemadlei

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

Comments & Activities

Production build 0.71.5 2024