Pristine upstream, unpacked from the official wordpress.org tarball. https://wordpress.org/wordpress-7.1.1.tar.gz sha1 2a9d68474e8703aa3a66f80427b325e0941b6a1e (published by wordpress.org) sha256 3996fee13448ef12e07e9f0c77db2f655ffa1b7cde71c80a4965d3bf1fb956b3 This branch carries nothing but upstream releases, one commit each, and is never edited. It is the other side of the git-subtree merge that brings security releases into SiriusPress/wordpress/ — see SiriusPress/docs/upstream-merges.md.
73 lines
1.5 KiB
JSON
73 lines
1.5 KiB
JSON
{
|
|
"$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"
|
|
}
|