wp/wp-includes/blocks/site-logo/block.json
changeset 18 be944660c56a
child 19 3d72ae0968f4
equal deleted inserted replaced
17:34716fd837a4 18:be944660c56a
       
     1 {
       
     2 	"apiVersion": 2,
       
     3 	"name": "core/site-logo",
       
     4 	"title": "Site Logo",
       
     5 	"category": "layout",
       
     6 	"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.",
       
     7 	"textdomain": "default",
       
     8 	"attributes": {
       
     9 		"align": {
       
    10 			"type": "string"
       
    11 		},
       
    12 		"width": {
       
    13 			"type": "number"
       
    14 		},
       
    15 		"isLink": {
       
    16 			"type": "boolean",
       
    17 			"default": true
       
    18 		},
       
    19 		"linkTarget": {
       
    20 			"type": "string",
       
    21 			"default": "_self"
       
    22 		}
       
    23 	},
       
    24 	"supports": {
       
    25 		"html": false,
       
    26 		"align": true,
       
    27 		"alignWide": false
       
    28 	},
       
    29 	"styles": [
       
    30 		{
       
    31 			"name": "default",
       
    32 			"label": "Default",
       
    33 			"isDefault": true
       
    34 		},
       
    35 		{ "name": "rounded", "label": "Rounded" }
       
    36 	],
       
    37 	"editorStyle": "wp-block-site-logo-editor",
       
    38 	"style": "wp-block-site-logo"
       
    39 }