2020-07-01 08:29:03 -04:00
|
|
|
{
|
2022-04-12 11:12:47 -04:00
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
2020-10-20 09:36:16 -04:00
|
|
|
"apiVersion": 2,
|
2020-07-01 08:29:03 -04:00
|
|
|
"name": "core/buttons",
|
2021-05-19 11:09:27 -04:00
|
|
|
"title": "Buttons",
|
2020-07-01 08:29:03 -04:00
|
|
|
"category": "design",
|
2021-05-19 11:09:27 -04:00
|
|
|
"description": "Prompt visitors to take action with a group of button-style links.",
|
|
|
|
"keywords": [ "link" ],
|
|
|
|
"textdomain": "default",
|
2020-07-01 08:29:03 -04:00
|
|
|
"supports": {
|
2020-07-07 10:43:35 -04:00
|
|
|
"anchor": true,
|
2021-11-08 09:29:21 -05:00
|
|
|
"align": [ "wide", "full" ],
|
|
|
|
"__experimentalExposeControlsToChildren": true,
|
|
|
|
"spacing": {
|
|
|
|
"blockGap": true,
|
2022-04-12 11:12:47 -04:00
|
|
|
"margin": [ "top", "bottom" ],
|
2021-11-08 09:29:21 -05:00
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"blockGap": true
|
|
|
|
}
|
|
|
|
},
|
2022-09-20 11:43:29 -04:00
|
|
|
"typography": {
|
|
|
|
"fontSize": true,
|
|
|
|
"lineHeight": true,
|
|
|
|
"__experimentalFontFamily": true,
|
|
|
|
"__experimentalFontWeight": true,
|
|
|
|
"__experimentalFontStyle": true,
|
|
|
|
"__experimentalTextTransform": true,
|
|
|
|
"__experimentalTextDecoration": true,
|
|
|
|
"__experimentalLetterSpacing": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"fontSize": true
|
|
|
|
}
|
|
|
|
},
|
2021-11-08 09:29:21 -05:00
|
|
|
"__experimentalLayout": {
|
|
|
|
"allowSwitching": false,
|
|
|
|
"allowInheriting": false,
|
|
|
|
"default": {
|
|
|
|
"type": "flex"
|
|
|
|
}
|
|
|
|
}
|
2021-01-27 21:04:13 -05:00
|
|
|
},
|
|
|
|
"editorStyle": "wp-block-buttons-editor",
|
|
|
|
"style": "wp-block-buttons"
|
2020-07-01 08:29:03 -04:00
|
|
|
}
|