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