-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Labels
Needs Design FeedbackNeeds general design feedback.Needs general design feedback.[Block] Post Featured ImageAffects the Post Featured Image BlockAffects the Post Featured Image Block[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
Post Featured Image is double border marked up.
Step-by-step reproduction instructions
- Paste the code below into the block editor.
<!-- wp:post-featured-image {"overlayColor":"black","dimRatio":50,"style":{"spacing":{"padding":{"top":"clamp(1.875rem, 1.303rem + 1.83vw, 2.813rem)","bottom":"clamp(1.875rem, 1.303rem + 1.83vw, 2.813rem)","left":"var:preset|spacing|50","right":"var:preset|spacing|50"}},"border":{"width":"20px"}},"borderColor":"vivid-cyan-blue"} /-->- You can see that the border is double marked up in the block editor and front end.
Setting both Overlay and Padding makes it easy to see that the border is double marked up.
Screenshots, screen recording, code snippet
Environment info
- WordPress 6.2.2
- Twenty Twenty-Three 1.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
Metadata
Metadata
Assignees
Labels
Needs Design FeedbackNeeds general design feedback.Needs general design feedback.[Block] Post Featured ImageAffects the Post Featured Image BlockAffects the Post Featured Image Block[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
