Color setting lost

Created on 22 May 2024, 6 months ago
Updated 9 July 2024, 4 months ago

Problem/Motivation

In the font color plugin, you select a color from the widget, it shows in the editor, but when saved the style attribute is stripped out.
In editor - view source

<p>
    <span style="color:hsl(120, 75%, 60%);"><span>green colour text</span></span>
</p>

Viewing
<p><span><span>green colour text</span></span></p>

Steps to reproduce

enable plugin
add to tool bar in full_html text format
add text and apply color widget
save
color attribute has disappeared

Proposed resolution

stop stripping attribute

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: works as designed

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom Jons

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

Comments & Activities

Production build 0.71.5 2024