-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
Good First IssueAn issue that's suitable for someone looking to contribute for the first timeAn issue that's suitable for someone looking to contribute for the first timeNeeds DevReady for, and needs developer effortsReady for, and needs developer efforts[Feature] Block APIAPI that allows to express the block paradigm.API that allows to express the block paradigm.[Feature] LayoutLayout block support, its UI controls, and style output.Layout block support, its UI controls, and style output.[Type] Developer DocumentationDocumentation for developersDocumentation for developers
Description
Description
Part of #41236.
spacing.blockGap
is mentioned in the supports section of the block API reference.
It says that setting the property to true is enough to enable the functionality if the theme supports it. This wasn't the case for me. Looking at the blocks which currently support blockGap, they either use layouts or use some gap specific hooks.
It would be great to have better documentation on how I can use blockGap in custom container blocks of my own.
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
Metadata
Metadata
Assignees
Labels
Good First IssueAn issue that's suitable for someone looking to contribute for the first timeAn issue that's suitable for someone looking to contribute for the first timeNeeds DevReady for, and needs developer effortsReady for, and needs developer efforts[Feature] Block APIAPI that allows to express the block paradigm.API that allows to express the block paradigm.[Feature] LayoutLayout block support, its UI controls, and style output.Layout block support, its UI controls, and style output.[Type] Developer DocumentationDocumentation for developersDocumentation for developers