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.
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.