Skip to content

Reusable blocks do not honor width of inner blocks in editor. #47658

@DaisyOlsen

Description

@DaisyOlsen

Description

When adding a reusable block that contains full-width inner blocks the editor view remains narrow. When converting from standalone to reusable the experience is a bit jarring.

The front-end displays properly, but the editor view discrepancy can confuse users.

This issue was brought to my attention by a theme developer @fatesallow during a conversation about the experience with developing themes for the block editor.

Step-by-step reproduction instructions

  1. Add a full-width group of blocks or patterns to the content editor.
  2. Create a Reusable block from the outermost block
  3. Observe the width shift to a narrower width as defined by the .wp-block selector

Screenshots, screen recording, code snippet

2023-02-01_15-46-25.mp4

Environment info

  • Local Installation via LocalWP
  • WordPress 6.1 with and without Gutenberg activated
  • Twenty Twenty Theme Active
  • Also tested with Twenty Twenty-Three Theme

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

No one assigned

    Labels

    [Feature] Synced PatternsRelated to synced patterns (formerly reusable blocks)[Type] BugAn existing feature does not function as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions