- md5
- c56084dac8ca5e0fae898f5d9f0fb3d2
- sha1
- e3d2b6ae0ae3b5268d511055cc26cf213e7fbcef
- sha256
- cbf6fa910e1e5690a188e6781d6c83b3f433c4ec74f7725064aaa672269deb64
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
{
"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 svg",
"css": ".wp-block-icon",
"spacing": {
"margin": ".wp-block-icon"
}
},
"style": "wp-block-icon",
"editorStyle": "wp-block-icon-editor"
}
The same content is in 19 releases, WordPress 7.0-beta3 to 7.0.8. See them all, or every version of this file.