Skip to content

Padding visualizers do not work properly in the Site Editor #41823

@annezazu

Description

@annezazu

Description

In the site editor blocks that use the placeholder illustration (see PostFeaturedImage and Cover) have an off-center bug for the dimensions visualizer.

Step-by-step reproduction instructions

  1. Use 13.5 RC1
  2. Add a cover block
  3. Set the cover block to use a featured image
  4. Add padding and notice the visualizer is off

Screenshots, screen recording, code snippet

visualizer.mov

Environment info

  • GB 13.5RC1
  • WP 6.0

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

[Feature] Design ToolsTools that impact the appearance of blocks both to expand the number of tools and improve the experi[Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")[Type] BugAn existing feature does not function as intended

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions