Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
DaisyOlsen opened this issue Feb 1, 2023 · 2 comments
Closed

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

DaisyOlsen opened this issue Feb 1, 2023 · 2 comments
Labels
[Feature] Synced Patterns Related to synced patterns (formerly reusable blocks) [Type] Bug An existing feature does not function as intended

Comments

@DaisyOlsen
Copy link
Contributor

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

@kathrynwp kathrynwp added [Feature] Synced Patterns Related to synced patterns (formerly reusable blocks) [Type] Bug An existing feature does not function as intended labels Feb 2, 2023
@t-hamano
Copy link
Contributor

t-hamano commented Apr 8, 2023

This issue is also discussed in #8288.

@talldan
Copy link
Contributor

talldan commented Apr 28, 2023

Seems like a duplicate of #8288, so I'll close it.

@talldan talldan closed this as not planned Won't fix, can't repro, duplicate, stale Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Synced Patterns Related to synced patterns (formerly reusable blocks) [Type] Bug An existing feature does not function as intended
4 participants