wp/wp-includes/blocks/page-list-item/block.json
changeset 21 48c4eec2b7e6
equal deleted inserted replaced
20:7b1b88e27a20 21:48c4eec2b7e6
       
     1 {
       
     2 	"$schema": "https://schemas.wp.org/trunk/block.json",
       
     3 	"apiVersion": 3,
       
     4 	"name": "core/page-list-item",
       
     5 	"title": "Page List Item",
       
     6 	"category": "widgets",
       
     7 	"parent": [ "core/page-list" ],
       
     8 	"description": "Displays a page inside a list of all pages.",
       
     9 	"keywords": [ "page", "menu", "navigation" ],
       
    10 	"textdomain": "default",
       
    11 	"attributes": {
       
    12 		"id": {
       
    13 			"type": "number"
       
    14 		},
       
    15 		"label": {
       
    16 			"type": "string"
       
    17 		},
       
    18 		"title": {
       
    19 			"type": "string"
       
    20 		},
       
    21 		"link": {
       
    22 			"type": "string"
       
    23 		},
       
    24 		"hasChildren": {
       
    25 			"type": "boolean"
       
    26 		}
       
    27 	},
       
    28 	"usesContext": [
       
    29 		"textColor",
       
    30 		"customTextColor",
       
    31 		"backgroundColor",
       
    32 		"customBackgroundColor",
       
    33 		"overlayTextColor",
       
    34 		"customOverlayTextColor",
       
    35 		"overlayBackgroundColor",
       
    36 		"customOverlayBackgroundColor",
       
    37 		"fontSize",
       
    38 		"customFontSize",
       
    39 		"showSubmenuIcon",
       
    40 		"style",
       
    41 		"openSubmenusOnClick"
       
    42 	],
       
    43 	"supports": {
       
    44 		"reusable": false,
       
    45 		"html": false,
       
    46 		"lock": false,
       
    47 		"inserter": false,
       
    48 		"__experimentalToolbar": false,
       
    49 		"interactivity": {
       
    50 			"clientNavigation": true
       
    51 		}
       
    52 	},
       
    53 	"editorStyle": "wp-block-page-list-editor",
       
    54 	"style": "wp-block-page-list"
       
    55 }