Cover block overlay color empty if disabled by theme.json #46148
Labels
[Block] Cover
Affects the Cover Block - used to display content laid over a background image
[Block] Navigation
Affects the Navigation Block
[Block] Post Featured Image
Affects the Post Featured Image Block
[Block] Social
Affects the Social Block - used to display Social Media accounts
[Feature] Colors
Color management
Description
For my theme, the color settings are removed completely:
Nevertheless, the cover block displays the color setting for the overlay color. But clicking on it returns an empty popover, since there is no color. So if there is no color, the color setting for the cover overlay should be omitted completely.
Step-by-step reproduction instructions
theme.json
above.Screenshots, screen recording, code snippet
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: