Cover block hides content if color variable is not set #31253
Labels
[Block] Cover
Affects the Cover Block - used to display content laid over a background image
[Status] In Progress
Tracking issues with work in progress
Description
A user created a cover block with fairly complex content. When they switched themes, there were no obvious errors in the editor, but none of the content appeared either. I took video so you can get a better idea what's happening:
https://cloudup.com/cHLs8znxI1n
HT @akirk for figuring out what was causing the user's content to go missing!
Step-by-step reproduction instructions
Expected behaviour
I would expect the cover block to display, perhaps with default colors selected.
Actual behaviour
The cover block shows a color selection option and does not display the content.
Screenshots or screen recording (optional)
https://cloudup.com/cHLs8znxI1n
WordPress information
Device information
The text was updated successfully, but these errors were encountered: