Color button should handle ACF when custom colorButton_foreStyle
config used
#3996
Labels
plugin:colorbutton
The plugin which probably causes the issue.
status:confirmed
An issue confirmed by the development team.
type:feature
A feature request.
Type of report
Feature request
Provide description of the new feature
When we change color button settings to use classes instead of style attribute (via `colorButton_foreStyle` config), ACF removes class property when switching to source view and back. This can be easily solved by additional
extraAllowedContent: 'span(*)'
config. However, it will be more convenient if color button plugin could automatically detect such config and adjust ACF settings.Example: https://codepen.io/f1ames/pen/JjYXZgp
Mght be related to #3994.
The text was updated successfully, but these errors were encountered: