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