gutenberg-section-block
gutenberg-section-block copied to clipboard
Add background-color class on edit view?
I modified the plugin on my end to exclude the text color since the client will only be able to make the background 3 different colors - blue, white, or black. In my css, if the section has "has-black-background-color" as a class, I give it white text. This works on the front end. But there's no way in the edit view to target that section because it's not being given the "has-black-background-color" class during the edit phase. Is it possible to add the background color class while in the admin?
@pinksharpii hmm.. I guess it should be possible. Will take a look.