I've installed Colorbutton to my Drupal 8 site.
I have enabled the button for Full HTML and For Basic HTML
I have allowed the attribute <span style>
in the Basic HTML allowed attributes area.
I have defined a set of hex value colors.
When I edit a page the button appears and I can change font colors in the editor correctly, however, saving the page strips the attributes leaving only clean <span>
tags...
what else am I suppose to do?
There is a simmilar question here, however in relation to colorbotton the documentation/README that comes with the module specifically states that we should be allowing <span style>
in the allowed tags? Is their readme incorrect?
The extension appears to add the color by adding the attribute style="color:#fff">
How can I allow it to do this successfully?