CoreFiles by mySites.guru
block.json79 lines, 1,611 bytes, from wordpress-7.0-beta2.zip
Raw History Compare with 7.0-beta1
md5
a55ee13cfcc39cd60915f2f075987be1
sha1
42530c9f52847daf59c62a6cf4b9a67979909e4b
sha256
d68fa77f76b43be005c5f6169896f0eeb791ebd1fd752d10faec8b1aac939e0a
{
	"apiVersion": 3,
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"name": "core/icon",
	"title": "Icon",
	"category": "media",
	"description": "Insert an SVG icon.",
	"keywords": [ "icon", "svg" ],
	"textdomain": "default",
	"attributes": {
		"icon": {
			"type": "string",
			"role": "content"
		}
	},
	"supports": {
		"anchor": true,
		"ariaLabel": {
			"__experimentalSkipSerialization": true
		},
		"align": [ "left", "center", "right" ],
		"html": false,
		"color": {
			"background": true,
			"text": true,
			"__experimentalSkipSerialization": true
		},
		"interactivity": {
			"clientNavigation": true
		},
		"__experimentalBorder": {
			"color": true,
			"radius": true,
			"style": true,
			"width": true,
			"__experimentalSkipSerialization": true,
			"__experimentalDefaultControls": {
				"color": false,
				"radius": false,
				"style": false,
				"width": false
			}
		},
		"spacing": {
			"padding": true,
			"margin": true,
			"__experimentalSkipSerialization": [ "padding" ],
			"__experimentalDefaultControls": {
				"margin": false,
				"padding": false
			}
		},
		"dimensions": {
			"width": true,
			"__experimentalSkipSerialization": [ "width" ],
			"__experimentalDefaultControls": {
				"width": true
			}
		}
	},
	"selectors": {
		"root": ".wp-block-icon",
		"color": {
			"root": ".wp-block-icon svg"
		},
		"border": {
			"root": ".wp-block-icon svg"
		},
		"spacing": {
			"padding": ".wp-block-icon svg"
		},
		"dimensions": {
			"root": ".wp-block-icon svg",
			"width": ".wp-block-icon svg"
		}
	},
	"style": "wp-block-icon",
	"editorStyle": "wp-block-icon-editor"
}

The same content is in 2 releases, WordPress 7.0-beta1 to 7.0-beta2. See them all, or every version of this file.