[10.2 regression] CKEditor 5 prevents Styles from adding span as allowed HTML

Created on 17 January 2024, 5 months ago

Problem/Motivation

The Style plugin needs another plugin to create , for it to be able to create the following attributes: . Enable a plugin that supports creating this tag. If none exists, you can configure the Source Editing plugin to support it.

Previously you could just add <span class> to allowed "Allowed HTML tags"

Steps to reproduce

  1. Define text format
  2. Enable 'Limit allowed HTML tags and correct faulty HTML' features
  3. Enable "Styles" button with
    span.text-large|Large
    span.text-primary|Primary Color
    span.text-secondary|Secondary Color
  4. Save text format
🐛 Bug report
Status

Active

Version

11.0 🔥

Component
CKEditor 5 

Last updated about 4 hours ago

Created by

🇨🇦Canada joelpittet Vancouver

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

  • Regression

    It restores functionality that was present in earlier versions.

Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024