- md5
- 5a508964e3ff5b7c7dd1600e9fab06c1
- sha1
- 4c81f5d1576d9dc1a0b741a25a182a4518cbca88
- sha256
- 6f4e0d81c29c84ac80cd9ed0bc656c54d44b8d63fcdb28d7152a817be457d83c
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
{
"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" ],
"html": false,
"color": {
"__experimentalSkipSerialization": true,
"__experimentalDefaultControls": {
"background": true,
"text": 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 svg",
"css": ".wp-block-icon",
"spacing": {
"margin": ".wp-block-icon"
}
},
"style": "wp-block-icon",
"editorStyle": "wp-block-icon-editor"
}
The same content is in 15 releases, WordPress 7.1-beta1 to 7.1.5. See them all, or every version of this file.