mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-14 14:45:45 +01:00
55f3de101b
Props aristath, timothyblynjacobs, ocean90. Fixes #53247. Built from https://develop.svn.wordpress.org/trunk@51091 git-svn-id: http://core.svn.wordpress.org/trunk@50700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
40 lines
966 B
JSON
40 lines
966 B
JSON
{
|
|
"apiVersion": 2,
|
|
"name": "core/site-logo",
|
|
"title": "Site Logo",
|
|
"category": "layout",
|
|
"description": "Useful for displaying a graphic mark, design, or symbol to represent the site. Once a site logo is set, it can be reused in different places and templates. It should not be confused with the site icon, which is the small image used in the dashboard, browser tabs, public search results, etc, to help recognize a site.",
|
|
"textdomain": "default",
|
|
"attributes": {
|
|
"align": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"isLink": {
|
|
"type": "boolean",
|
|
"default": true
|
|
},
|
|
"linkTarget": {
|
|
"type": "string",
|
|
"default": "_self"
|
|
}
|
|
},
|
|
"supports": {
|
|
"html": false,
|
|
"align": true,
|
|
"alignWide": false
|
|
},
|
|
"styles": [
|
|
{
|
|
"name": "default",
|
|
"label": "Default",
|
|
"isDefault": true
|
|
},
|
|
{ "name": "rounded", "label": "Rounded" }
|
|
],
|
|
"editorStyle": "wp-block-site-logo-editor",
|
|
"style": "wp-block-site-logo"
|
|
}
|