-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
[Feature] Block APIAPI that allows to express the block paradigm.API that allows to express the block paradigm.[Feature] BlocksOverall functionality of blocksOverall functionality of blocks[Feature] Synced PatternsRelated to synced patterns (formerly reusable blocks)Related to synced patterns (formerly reusable blocks)[Type] TaskIssues or PRs that have been broken down into an individual action to takeIssues or PRs that have been broken down into an individual action to take
Milestone
Description
Describe the bug
Since #10545 was merged it's now easy for a user to select a column in a columns block. It's also really easy to turn that selected column into a reusable block.
That reusable block can't really be used anywhere, which perhaps makes it worthless, but also it causes layout issues with the columns (see screenshot).
I'm not sure if this has always been possible or if it's a regression. If the former, I wonder if we need a supports.reusable
setting in the block api to prevent this?
To Reproduce
Steps to reproduce the behavior:
- Add a new columns block
- Add some content to the columns
- Open the block navigation popover
- Select one of the 'column' blocks
- Using the more menu, add the column to reusable blocks
- Observe that the columns don't maintain their width (see screenshot)
Expected behavior
Either a) the column should not be allowed to be added as a reusable block, or b) the columns should maintain their widths
Additional context
- Gutenberg 4.1
Metadata
Metadata
Assignees
Labels
[Feature] Block APIAPI that allows to express the block paradigm.API that allows to express the block paradigm.[Feature] BlocksOverall functionality of blocksOverall functionality of blocks[Feature] Synced PatternsRelated to synced patterns (formerly reusable blocks)Related to synced patterns (formerly reusable blocks)[Type] TaskIssues or PRs that have been broken down into an individual action to takeIssues or PRs that have been broken down into an individual action to take