Active
Project:
Drupal core
Version:
main
Component:
ckeditor5.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Sep 2026 at 01:37 UTC
Updated:
15 Sep 2026 at 03:44 UTC
Jump to comment: Most recent
With the Entity Link Suggestions CKEditor 5 plugin enabled, editing an existing link's Displayed text and clicking Update throws a JS error and prevents editing. It appears to only happen for links whose URL is not a resolved entity suggestion, such as a relative views path (/articles), an unresolved internal path (/test), or an external URL (https://google.com). Links picked from autocomplete work fine.
Uncaught CKEditorError: unexpected-error Original error: TypeError: Cannot read properties of undefined (reading 'attributes') at Differ.getChanges at _registerCoupledAttributesPostFixer (html-support.js) at _addExtraAttributesOnLinkCommandExecute (drupalEntityLinkSuggestions.js)
/test and some text, then save.Expected: the link's visible text updates.
Actual: CKEditorError: unexpected-error in the console and the text change is not applied.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments