-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Open
Labels
[Feature] InserterThe main way to insert blocks using the + button in the editing interfaceThe main way to insert blocks using the + button in the editing interface[Feature] PatternsA collection of blocks that can be synced (previously reusable blocks) or unsyncedA collection of blocks that can be synced (previously reusable blocks) or unsynced[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Description
What problem does this address?
Currently, it's possible to insert very large block patterns into very small spaces. This ends up making them seem very broken.
What is your proposed solution?
We should have some sort of logic that determines whether a block pattern should be inserted or not. For instance, when someone has a small column selected, don't show wide/full-width patterns in the inserter.
It would be interesting to extend that to themes as well. For example: if a pattern specifies that its preview viewportWidth
should be 1800px
wide, maybe that's an indication that the pattern shouldn't be available while using a theme with a 600px
content width and no wide/full support.
Metadata
Metadata
Assignees
Labels
[Feature] InserterThe main way to insert blocks using the + button in the editing interfaceThe main way to insert blocks using the + button in the editing interface[Feature] PatternsA collection of blocks that can be synced (previously reusable blocks) or unsyncedA collection of blocks that can be synced (previously reusable blocks) or unsynced[Type] EnhancementA suggestion for improvement.A suggestion for improvement.