Classes are stripped out

Created on 1 September 2021, about 4 years ago
Updated 27 December 2023, almost 2 years ago

Problem/Motivation

Some classes present on edit are stripped out when viewing node.

Steps to reproduce

Add a cover block and upload a dark background. An .is-dark-theme class is automatically added to the element, which controls the text color (e.g. white text on dark background). However, this class is stripped out when the node is saved and viewed, causing the text to become dark.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇫🇮Finland iamfredrik

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024