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

Patterns: Full width synced patterns inserted with constrained width #52312

Closed
jordesign opened this issue Jul 5, 2023 · 2 comments
Closed
Labels
[Block] Pattern Affects the Patterns Block Needs Testing Needs further testing to be confirmed. [Type] Bug An existing feature does not function as intended

Comments

@jordesign
Copy link
Contributor

jordesign commented Jul 5, 2023

Description

When inserting a synced pattern that was created at full width (outer block set with 'Full' alignment) it remains constrained to the content width.

When it is converted back to regular blocks - the 'full' alignment is restored

Step-by-step reproduction instructions

  1. Create block (or series of blocks) where the outer most block has the alignment set to 'Full'.
  2. Create a Synced pattern from the block/s
  3. In a new page/post insert the synced block. It will insert as though it is constrained by the content area.
  4. Convert the pattern to regular blocks. The pattern will return to the 'Full' alignment

Screenshots, screen recording, code snippet

Screen.Recording.2023-07-03.at.3.22.39.pm.mov

Environment info

  • WordPress 6.3 beta2
  • Gutenberg 16.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

@jordesign jordesign added [Type] Bug An existing feature does not function as intended [Block] Pattern Affects the Patterns Block labels Jul 5, 2023
@firoz2456
Copy link

@jordesign
Are you testing in WordPress 6.3 beta2 OR WordPress 6.3 beta3 ?

@bph bph added the Needs Testing Needs further testing to be confirmed. label Jul 5, 2023
@ndiego
Copy link
Member

ndiego commented Jul 5, 2023

This issue has actually always been an issue with reusable blocks (now called synced patterns). The original issue is #8288, so I am going to close this one to keep the conversation over there. Thanks for reporting this @jordesign 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Pattern Affects the Patterns Block Needs Testing Needs further testing to be confirmed. [Type] Bug An existing feature does not function as intended
Projects
No open projects
Development

No branches or pull requests

4 participants