Closed (fixed)
Project:
CKEditor 5 Plugin Pack
Version:
1.4.1
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
24 Nov 2025 at 05:57 UTC
Updated:
22 Jan 2026 at 09:29 UTC
Jump to comment: Most recent
There should not be any JS warnings in browser console.
Drupal 11/10:
- install/enable CKEditor 5 Link Attributes
- add group: Button and attributes: class|btn btn-danger
- save
in editor:
- create a link, set attribute to Button
result:
warning in browser console:
ckeditor5-dll.js?v=45.2.2:5 matcher-pattern-deprecated-attributes-class-key {class: 'btn btn-info'}
Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#error-matcher-pattern-deprecated-attributes-class-key
Clean installation, no other modules which affect CKEditor5 Editor's links are enabled.
Fix code, there should not be any warnings in console
Fix code
None
TBA
TBA
| Comment | File | Size | Author |
|---|---|---|---|
| warning.png | 258.06 KB | jannakha |
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
Comment #4
salmonek commentedHi Jen
Thank you for bringing this issue to uor attention.
We were indeed using deprecated format for passing the classes configuration. I have pushed MR with fix.
Comment #5
salmonek commentedOur QA team confirmed the patch is working. Merging and will mark as fixed after release.
In case it's not working for you, please reopen in case the ticket is already closed.
Comment #6
salmonek commentedReleased in 1.5.0
Comment #7
salmonek commented