Skip to content

Commit

Permalink
Initial commit. Adding border supports defaults in block.json
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonjd committed Sep 16, 2021
1 parent 7bb5e4b commit f8dc90f
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 6 deletions.
5 changes: 4 additions & 1 deletion packages/block-library/src/button/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@
},
"__experimentalBorder": {
"radius": true,
"__experimentalSkipSerialization": true
"__experimentalSkipSerialization": true,
"__experimentalDefaultControls": {
"radius": true
}
},
"__experimentalSelector": ".wp-block-button__link"
},
Expand Down
8 changes: 7 additions & 1 deletion packages/block-library/src/group/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,13 @@
"color": true,
"radius": true,
"style": true,
"width": true
"width": true,
"__experimentalDefaultControls": {
"color": true,
"radius": true,
"style": true,
"width": true
}
},
"__experimentalLayout": true
},
Expand Down
5 changes: 4 additions & 1 deletion packages/block-library/src/image/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,10 @@
"background": false
},
"__experimentalBorder": {
"radius": true
"radius": true,
"__experimentalDefaultControls": {
"radius": true
}
}
},
"styles": [
Expand Down
8 changes: 7 additions & 1 deletion packages/block-library/src/pullquote/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,13 @@
"color": true,
"radius": true,
"style": true,
"width": true
"width": true,
"__experimentalDefaultControls": {
"color": true,
"radius": true,
"style": true,
"width": true
}
}
},
"editorStyle": "wp-block-pullquote-editor",
Expand Down
6 changes: 5 additions & 1 deletion packages/block-library/src/search/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@
"__experimentalBorder": {
"color": true,
"radius": true,
"__experimentalSkipSerialization": true
"__experimentalSkipSerialization": true,
"__experimentalDefaultControls": {
"color": true,
"radius": true
}
},
"html": false
},
Expand Down
7 changes: 6 additions & 1 deletion packages/block-library/src/table/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,12 @@
"__experimentalSkipSerialization": true,
"color": true,
"style": true,
"width": true
"width": true,
"__experimentalDefaultControls": {
"color": true,
"style": true,
"width": true
}
},
"__experimentalSelector": ".wp-block-table > table"
},
Expand Down

0 comments on commit f8dc90f

Please sign in to comment.