Skip to content

Commit

Permalink
Add blockGap as a default control on Columns/Column blocks (#49526)
Browse files Browse the repository at this point in the history
* Update block.json

* Add default blockGap to column block
  • Loading branch information
richtabor authored Apr 3, 2023
1 parent 641949a commit 7754a80
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/block-library/src/column/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"blockGap": true,
"padding": true,
"__experimentalDefaultControls": {
"padding": true
"padding": true,
"blockGap": true
}
},
"__experimentalBorder": {
Expand Down
3 changes: 2 additions & 1 deletion packages/block-library/src/columns/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
"margin": [ "top", "bottom" ],
"padding": true,
"__experimentalDefaultControls": {
"padding": true
"padding": true,
"blockGap": true
}
},
"__experimentalLayout": {
Expand Down

1 comment on commit 7754a80

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 7754a80.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4600212104
📝 Reported issues:

Please sign in to comment.