2020-07-01 08:29:03 -04:00
|
|
|
{
|
2022-04-12 11:12:47 -04:00
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
2023-06-27 10:24:19 -04:00
|
|
|
"apiVersion": 3,
|
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",
|
2024-02-09 13:22:22 -05:00
|
|
|
"allowedBlocks": [ "core/button" ],
|
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" ],
|
2023-06-27 10:24:19 -04:00
|
|
|
"html": false,
|
2021-11-08 09:29:21 -05:00
|
|
|
"__experimentalExposeControlsToChildren": true,
|
2024-09-19 21:55:35 -04:00
|
|
|
"color": {
|
|
|
|
"gradients": true,
|
|
|
|
"text": false,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"background": true
|
|
|
|
}
|
|
|
|
},
|
2021-11-08 09:29:21 -05:00
|
|
|
"spacing": {
|
2024-09-19 21:55:35 -04:00
|
|
|
"blockGap": [ "horizontal", "vertical" ],
|
|
|
|
"padding": 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
|
|
|
|
}
|
|
|
|
},
|
2024-09-19 21:55:35 -04:00
|
|
|
"__experimentalBorder": {
|
|
|
|
"color": true,
|
|
|
|
"radius": true,
|
|
|
|
"style": true,
|
|
|
|
"width": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"color": true,
|
|
|
|
"radius": true,
|
|
|
|
"style": true,
|
|
|
|
"width": true
|
|
|
|
}
|
|
|
|
},
|
2023-06-27 10:24:19 -04:00
|
|
|
"layout": {
|
2021-11-08 09:29:21 -05:00
|
|
|
"allowSwitching": false,
|
|
|
|
"allowInheriting": false,
|
|
|
|
"default": {
|
|
|
|
"type": "flex"
|
|
|
|
}
|
2024-02-09 13:22:22 -05:00
|
|
|
},
|
|
|
|
"interactivity": {
|
|
|
|
"clientNavigation": true
|
2021-11-08 09:29:21 -05:00
|
|
|
}
|
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
|
|
|
}
|