Skip to content

Commit

Permalink
Dimensions Panel: add padding tool as default for blocks where this i…
Browse files Browse the repository at this point in the history
…s common setting (#34026)

Co-authored-by: Glen Davies <glen.davies@a8c.com>
  • Loading branch information
glendaviesnz and Glen Davies committed Aug 17, 2021
1 parent 34fbec6 commit 20d9c54
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion packages/block-library/src/column/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@
"link": true
},
"spacing": {
"padding": true
"padding": true,
"__experimentalDefaultControls": {
"padding": true
}
}
}
}
5 changes: 4 additions & 1 deletion packages/block-library/src/cover/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@
"align": true,
"html": false,
"spacing": {
"padding": true
"padding": true,
"__experimentalDefaultControls": {
"padding": true
}
},
"color": {
"__experimentalDuotone": "> .wp-block-cover__image-background, > .wp-block-cover__video-background",
Expand Down
5 changes: 4 additions & 1 deletion packages/block-library/src/group/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@
"link": true
},
"spacing": {
"padding": true
"padding": true,
"__experimentalDefaultControls": {
"padding": true
}
},
"__experimentalBorder": {
"color": true,
Expand Down

0 comments on commit 20d9c54

Please sign in to comment.