- md5
- 951098aa1d468cb3912f6374d2d21977
- sha1
- 0675e23aea5ce225baa4ef3aa9742785a2c980a2
- sha256
- 256b7bde9287e86c1a796d55734ccd65452542b47d15f211bc5c587f0be5dccd
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "core/site-logo",
"title": "Site Logo",
"category": "theme",
"description": "Display an image to represent this site. Update this block and the changes apply everywhere.",
"textdomain": "default",
"attributes": {
"width": {
"type": "number"
},
"isLink": {
"type": "boolean",
"default": true,
"role": "content"
},
"linkTarget": {
"type": "string",
"default": "_self",
"role": "content"
},
"shouldSyncIcon": {
"type": "boolean"
}
},
"example": {
"viewportWidth": 500,
"attributes": {
"width": 350,
"className": "block-editor-block-types-list__site-logo-example"
}
},
"supports": {
"anchor": true,
"html": false,
"align": true,
"alignWide": false,
"color": {
"text": false,
"background": false
},
"spacing": {
"margin": true,
"padding": true,
"__experimentalDefaultControls": {
"margin": false,
"padding": false
}
},
"interactivity": {
"clientNavigation": true
},
"filter": {
"duotone": true
}
},
"styles": [
{
"name": "default",
"label": "Default",
"isDefault": true
},
{ "name": "rounded", "label": "Rounded" }
],
"selectors": {
"filter": {
"duotone": ".wp-block-site-logo img, .wp-block-site-logo .components-placeholder__illustration, .wp-block-site-logo .components-placeholder::before"
}
},
"editorStyle": "wp-block-site-logo-editor",
"style": "wp-block-site-logo"
}
The same content is in 44 releases, WordPress 7.0-beta1 to 7.2-RC2. See them all, or every version of this file.