wp/wp-includes/blocks/home-link/block.json
changeset 19 3d72ae0968f4
child 21 48c4eec2b7e6
equal deleted inserted replaced
18:be944660c56a 19:3d72ae0968f4
       
     1 {
       
     2 	"$schema": "https://schemas.wp.org/trunk/block.json",
       
     3 	"apiVersion": 2,
       
     4 	"name": "core/home-link",
       
     5 	"category": "design",
       
     6 	"parent": [ "core/navigation" ],
       
     7 	"title": "Home Link",
       
     8 	"description": "Create a link that always points to the homepage of the site. Usually not necessary if there is already a site title link present in the header.",
       
     9 	"textdomain": "default",
       
    10 	"attributes": {
       
    11 		"label": {
       
    12 			"type": "string"
       
    13 		}
       
    14 	},
       
    15 	"usesContext": [
       
    16 		"textColor",
       
    17 		"customTextColor",
       
    18 		"backgroundColor",
       
    19 		"customBackgroundColor",
       
    20 		"fontSize",
       
    21 		"customFontSize",
       
    22 		"style"
       
    23 	],
       
    24 	"supports": {
       
    25 		"reusable": false,
       
    26 		"html": false
       
    27 	},
       
    28 	"editorStyle": "wp-block-home-link-editor",
       
    29 	"style": "wp-block-home-link"
       
    30 }