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

Top-level patterns #42632

Closed
richtabor opened this issue Jul 22, 2022 · 1 comment
Closed

Top-level patterns #42632

richtabor opened this issue Jul 22, 2022 · 1 comment
Labels
[Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced [Type] Enhancement A suggestion for improvement.

Comments

@richtabor
Copy link
Member

What problem does this address?

Some patterns, like headers, footers and fullscreen hero areas are not meant to be placed within a parent block.

It's easy to forget to add a blank paragraph block, or hit "Insert after" before adding another pattern — which can lead to unintended placement of these patterns that meant to be placed at the top-level of a page.

What is your proposed solution?

What I'd like to reduce is the instances where you have to undo adding a pattern, find a better insertion point, find your pattern again, and add it again. Perhaps this could be achieved by adding a method to indicate a pattern should be added top-level from the pattern registration.

Screenshot

Here's what an incorrectly placed top-level pattern may look like: (A header added within a column)

CleanShot 2022-07-22 at 10 29 09@2x

@richtabor richtabor added [Type] Enhancement A suggestion for improvement. [Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced labels Jul 22, 2022
@mtias
Copy link
Member

mtias commented Jul 26, 2022

This is extremely related to #39281

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

2 participants