2021-06-08 10:27:58 +02:00
{
2022-04-12 17:12:47 +02:00
"$schema" : "https://schemas.wp.org/trunk/block.json" ,
2021-06-08 10:27:58 +02:00
"apiVersion" : 2 ,
"name" : "core/site-logo" ,
"title" : "Site Logo" ,
2021-11-30 01:24:27 +01:00
"category" : "theme" ,
2021-11-08 15:29:21 +01:00
"description" : "Display a graphic to represent this site. Update the block, and the changes apply everywhere it’ s used. This is different than the site icon, which is the smaller image visible in your dashboard, browser tabs, etc used to help others recognize this site." ,
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
}
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"
}