CKEditor 5: Restricting the style attribute in <span> tag has restricted some modules to work as expected.

Created on 16 August 2023, over 1 year ago
Updated 3 October 2023, about 1 year ago

Problem/Motivation

Ckeditor has introduced a very strict validations or element filtering process where attribute like style are not allowed due to security concerns.
Because of that modules like colorbutton has lost their compatibility.

Steps to reproduce

  1. - Enable colorbutton module
  2. - Enable the colorbutton in the editor formats
  3. - Add a new content and add text and use colorbutton to highlight.
  4. - Enable and switch to CKE5 and see the results.

Expected :
- All the inline styles added by color-button should work

Actual:
- All the inline styling are gone

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Feature request
Status

Closed: works as designed

Version

11.0 🔥

Component
CKEditor 5 

Last updated 2 days ago

Created by

🇮🇳India vakulrai

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

Comments & Activities

Production build 0.71.5 2024