Cover image as featured image + "Fixed background" duplicates the style element. #43092
Labels
[Block] Cover
Affects the Cover Block - used to display content laid over a background image
[Type] Bug
An existing feature does not function as intended
Description
Adding a cover image as featured image with the "Fixed background" option duplicates the style element, which will result in the following code on the frontend:
<div class="wp-block-cover is-light has-parallax" style="background-image:url(PATH_TO_IMAGE);" style="margin-top:111px">
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
WordPress version: 6.0.1 and 6.1-alpha-53771
Gutenberg version: 13.8.1 and 13.9.20220808
Theme: TT2
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: