Skip to content

Commit 2e8cdcc

Browse files
ramonjdstacimc
authored andcommitted
Initial commit. Adding border supports defaults in block.json
1 parent f323d96 commit 2e8cdcc

File tree

6 files changed

+33
-6
lines changed

6 files changed

+33
-6
lines changed

packages/block-library/src/button/block.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,10 @@
7979
},
8080
"__experimentalBorder": {
8181
"radius": true,
82-
"__experimentalSkipSerialization": true
82+
"__experimentalSkipSerialization": true,
83+
"__experimentalDefaultControls": {
84+
"radius": true
85+
}
8386
},
8487
"__experimentalSelector": ".wp-block-button__link"
8588
},

packages/block-library/src/group/block.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,13 @@
3535
"color": true,
3636
"radius": true,
3737
"style": true,
38-
"width": true
38+
"width": true,
39+
"__experimentalDefaultControls": {
40+
"color": true,
41+
"radius": true,
42+
"style": true,
43+
"width": true
44+
}
3945
},
4046
"__experimentalLayout": true
4147
},

packages/block-library/src/image/block.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,10 @@
8484
"background": false
8585
},
8686
"__experimentalBorder": {
87-
"radius": true
87+
"radius": true,
88+
"__experimentalDefaultControls": {
89+
"radius": true
90+
}
8891
}
8992
},
9093
"styles": [

packages/block-library/src/pullquote/block.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,13 @@
4949
"color": true,
5050
"radius": true,
5151
"style": true,
52-
"width": true
52+
"width": true,
53+
"__experimentalDefaultControls": {
54+
"color": true,
55+
"radius": true,
56+
"style": true,
57+
"width": true
58+
}
5359
}
5460
},
5561
"editorStyle": "wp-block-pullquote-editor",

packages/block-library/src/search/block.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,11 @@
4949
"__experimentalBorder": {
5050
"color": true,
5151
"radius": true,
52-
"__experimentalSkipSerialization": true
52+
"__experimentalSkipSerialization": true,
53+
"__experimentalDefaultControls": {
54+
"color": true,
55+
"radius": true
56+
}
5357
},
5458
"html": false
5559
},

packages/block-library/src/table/block.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,12 @@
145145
"__experimentalSkipSerialization": true,
146146
"color": true,
147147
"style": true,
148-
"width": true
148+
"width": true,
149+
"__experimentalDefaultControls": {
150+
"color": true,
151+
"style": true,
152+
"width": true
153+
}
149154
},
150155
"__experimentalSelector": ".wp-block-table > table"
151156
},

0 commit comments

Comments
 (0)