- md5
- 5c0594e75dd6e07515aef313fa48280f
- sha1
- 05e0837f7895951b25484b9acdc119dce3004198
- sha256
- ddea98dd711965b5f48efcd2c9bc8d3c2c9455a85a43c7daf7b4b5e5cf4553dd
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
{
"apiVersion": 2,
"name": "core/button",
"category": "design",
"parent": [
"core/buttons"
],
"attributes": {
"url": {
"type": "string",
"source": "attribute",
"selector": "a",
"attribute": "href"
},
"title": {
"type": "string",
"source": "attribute",
"selector": "a",
"attribute": "title"
},
"text": {
"type": "string",
"source": "html",
"selector": "a"
},
"linkTarget": {
"type": "string",
"source": "attribute",
"selector": "a",
"attribute": "target"
},
"rel": {
"type": "string",
"source": "attribute",
"selector": "a",
"attribute": "rel"
},
"placeholder": {
"type": "string"
},
"borderRadius": {
"type": "number"
},
"style": {
"type": "object"
},
"backgroundColor": {
"type": "string"
},
"textColor": {
"type": "string"
},
"gradient": {
"type": "string"
},
"width": {
"type": "number"
}
},
"supports": {
"anchor": true,
"align": true,
"alignWide": false,
"reusable": false,
"__experimentalSelector": ".wp-block-button > a"
},
"editorStyle": "wp-block-button-editor",
"style": "wp-block-button"
}
The same content is in 29 releases, WordPress 5.7-beta1 to 5.7.21. See them all, or every version of this file.