CoreFiles by mySites.guru
block.json69 lines, 1,150 bytes, from wordpress-5.7.zip
Raw History Compare with 5.6.23
md5
5c0594e75dd6e07515aef313fa48280f
sha1
05e0837f7895951b25484b9acdc119dce3004198
sha256
ddea98dd711965b5f48efcd2c9bc8d3c2c9455a85a43c7daf7b4b5e5cf4553dd
{
	"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.