2021-06-08 04:27:58 -04:00
|
|
|
{
|
2022-04-12 11:12:47 -04:00
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
2023-06-27 10:24:19 -04:00
|
|
|
"apiVersion": 3,
|
2021-06-08 04:27:58 -04:00
|
|
|
"name": "core/site-logo",
|
|
|
|
"title": "Site Logo",
|
2021-11-29 19:24:27 -05:00
|
|
|
"category": "theme",
|
2023-06-27 10:24:19 -04:00
|
|
|
"description": "Display an image to represent this site. Update this block and the changes apply everywhere.",
|
2021-06-08 04:27:58 -04:00
|
|
|
"textdomain": "default",
|
|
|
|
"attributes": {
|
|
|
|
"width": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"isLink": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
|
|
|
},
|
|
|
|
"linkTarget": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "_self"
|
2022-01-04 00:39:28 -05:00
|
|
|
},
|
|
|
|
"shouldSyncIcon": {
|
|
|
|
"type": "boolean"
|
2021-06-08 04:27:58 -04:00
|
|
|
}
|
|
|
|
},
|
2021-11-08 09:29:21 -05:00
|
|
|
"example": {
|
|
|
|
"viewportWidth": 500,
|
|
|
|
"attributes": {
|
2022-01-04 00:39:28 -05:00
|
|
|
"width": 350,
|
|
|
|
"className": "block-editor-block-types-list__site-logo-example"
|
2021-11-08 09:29:21 -05:00
|
|
|
}
|
|
|
|
},
|
2021-06-08 04:27:58 -04:00
|
|
|
"supports": {
|
|
|
|
"html": false,
|
|
|
|
"align": true,
|
2021-11-08 09:29:21 -05:00
|
|
|
"alignWide": false,
|
|
|
|
"color": {
|
2022-04-12 11:12:47 -04:00
|
|
|
"__experimentalDuotone": "img, .components-placeholder__illustration, .components-placeholder::before",
|
2021-11-08 09:29:21 -05:00
|
|
|
"text": false,
|
|
|
|
"background": false
|
2022-09-20 11:43:29 -04:00
|
|
|
},
|
|
|
|
"spacing": {
|
|
|
|
"margin": true,
|
2023-07-07 03:21:17 -04:00
|
|
|
"padding": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"margin": false,
|
|
|
|
"padding": false
|
|
|
|
}
|
2021-11-08 09:29:21 -05:00
|
|
|
}
|
2021-06-08 04:27:58 -04:00
|
|
|
},
|
|
|
|
"styles": [
|
|
|
|
{
|
|
|
|
"name": "default",
|
|
|
|
"label": "Default",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
{ "name": "rounded", "label": "Rounded" }
|
|
|
|
],
|
|
|
|
"editorStyle": "wp-block-site-logo-editor",
|
|
|
|
"style": "wp-block-site-logo"
|
|
|
|
}
|