Can't save CKEditor 5 configuration when using filter_noopener

Created on 15 September 2023, about 1 year ago
Updated 18 September 2023, about 1 year ago

Problem/Motivation

When I try to save a configuration for profile I have the following error:

The current CKEditor 5 build requires the following elements and attributes:
<br> <p> <h3> <h4> <* dir="ltr rtl" lang> <a href title class id target="_blank" data-entity-type data-entity-uuid data-entity-substitution> <ul class> <ol> <li> <nbsp>
The following elements are missing:
<br> <p> <h3> <h4> <* dir="ltr rtl" lang> <a href title class id target="_blank" data-entity-type data-entity-uuid data-entity-substitution> <ul class> <ol> <li> <nbsp>

Steps to reproduce

Drupal 10.1.2 and CKeditor5. I just migrated from D9.5 and this error popup.
I try to save profile : /admin/config/content/formats/manage/{profile_name}

Proposed resolution

Add validation that was present in the older version.
Right now the method checkHtmlRestrictionsMatch is missing validation for unrestricted property for some of the filters. For example filter_noopener.

💬 Support request
Status

Fixed

Version

10.1

Component
CKEditor 5 

Last updated 1 day ago

Created by

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

Comments & Activities

Production build 0.71.5 2024