matcher-pattern-deprecated-attributes-class-key ckeditor warnings

Created on 3 October 2023, almost 2 years ago

Problem/Motivation

Ckeditor5 throws the matcher-pattern-deprecated-attributes-class-key ckeditor warning if the class attribute is enabled in the text format settings and a form using that text format and ckeditor5 is opened if the text in the editor contains links.

Steps to reproduce

On vanilla D10

Enable editor_advanced_link
Enable the class attribute of the advanved link settings on the text format configuration form
Create a content of a type containing any longtext field that's using ckeditor5 (for example body)
In the longtext field add some anchor tags via the link toolbar button
Save the content and re-visit the edit form
Open the console and see the warnings mentioned above, one for each anchor tag

Proposed resolution

Use the classes property instead of a class attribute in the upcast converter.

πŸ› Bug report
Status

Active

Version

2.2

Component

Code

Created by

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