- md5
- 888dfb1d0f96eef6db1bcfdd84fe45a8
- sha1
- 5edc9887884f7b593ef3cd0910e6bdfd418a1c15
- sha256
- 2348fc52b520a41962f7a61c0dc2c184d748bc1e3214aef808de9eef7c9455cc
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
{
"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.