CoreFiles by mySites.guru
block.json100 lines, 2,007 bytes, from wordpress-7.2-beta5.zip
Raw History Compare with 7.2-beta4
md5
888dfb1d0f96eef6db1bcfdd84fe45a8
sha1
5edc9887884f7b593ef3cd0910e6bdfd418a1c15
sha256
2348fc52b520a41962f7a61c0dc2c184d748bc1e3214aef808de9eef7c9455cc
{
	"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"
		},
		"flipHorizontal": {
			"type": "boolean",
			"default": false
		},
		"flipVertical": {
			"type": "boolean",
			"default": false
		},
		"rotation": {
			"type": "number",
			"default": 0
		}
	},
	"supports": {
		"anchor": true,
		"ariaLabel": {
			"__experimentalSkipSerialization": true
		},
		"align": [ "left", "center", "right" ],
		"background": {
			"backgroundImage": true,
			"backgroundSize": true,
			"gradient": true,
			"__experimentalSkipSerialization": true
		},
		"html": false,
		"color": {
			"__experimentalSkipSerialization": true,
			"__experimentalDefaultControls": {
				"background": true,
				"text": true
			}
		},
		"interactivity": {
			"clientNavigation": true
		},
		"shadow": {
			"__experimentalSkipSerialization": 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,
			"minWidth": true,
			"minHeight": true,
			"__experimentalSkipSerialization": [
				"width",
				"minWidth",
				"minHeight"
			],
			"__experimentalDefaultControls": {
				"width": true
			}
		}
	},
	"selectors": {
		"root": ".wp-block-icon svg",
		"css": ".wp-block-icon",
		"shadow": ".wp-block-icon svg",
		"spacing": {
			"margin": ".wp-block-icon"
		}
	},
	"style": "wp-block-icon",
	"editorStyle": "wp-block-icon-editor"
}

The same content is in 7 releases, WordPress 7.2-beta1 to 7.2-RC2. See them all, or every version of this file.