Core Cover Block Classes change after updating the block #50751
Labels
Backwards Compatibility
Issues or PRs that impact backwards compatability
[Block] Cover
Affects the Cover Block - used to display content laid over a background image
CSS Styling
Related to editor and front end styles, CSS-specific issues.
[Type] Bug
An existing feature does not function as intended
Description
The core cover block classes change when updating the block. I notice this is only an issue with the WordPress Test Data: Block Cover post. The
.wp-block-cover-text
class is removed and the p tag is wrapped in.wp-block-cover__inner-container
. This makes it hard to use the test data to create styles for the cover block.Step-by-step reproduction instructions
.wp-block-cover-text
.wp-block-cover-text
again and you'll notice it's not there.Screenshots, screen recording, code snippet
Before updating the cover block:
After updating the cover block:
Environment info
Version | 6.2.1
Google Chrome Version 113.0.5672.126
Mac Ventura 13.3.1
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: