wp/wp-includes/blocks/categories/block.json
changeset 18 be944660c56a
parent 16 a86126ab1dd4
child 19 3d72ae0968f4
equal deleted inserted replaced
17:34716fd837a4 18:be944660c56a
     1 {
     1 {
       
     2 	"apiVersion": 2,
     2 	"name": "core/categories",
     3 	"name": "core/categories",
       
     4 	"title": "Categories",
     3 	"category": "widgets",
     5 	"category": "widgets",
       
     6 	"description": "Display a list of all categories.",
       
     7 	"textdomain": "default",
     4 	"attributes": {
     8 	"attributes": {
     5 		"align": {
       
     6 			"type": "string",
       
     7 			"enum": [
       
     8 				"left",
       
     9 				"center",
       
    10 				"right",
       
    11 				"wide",
       
    12 				"full"
       
    13 			]
       
    14 		},
       
    15 		"className": {
       
    16 			"type": "string"
       
    17 		},
       
    18 		"displayAsDropdown": {
     9 		"displayAsDropdown": {
    19 			"type": "boolean",
    10 			"type": "boolean",
    20 			"default": false
    11 			"default": false
    21 		},
    12 		},
    22 		"showHierarchy": {
    13 		"showHierarchy": {
    29 		}
    20 		}
    30 	},
    21 	},
    31 	"supports": {
    22 	"supports": {
    32 		"align": true,
    23 		"align": true,
    33 		"html": false
    24 		"html": false
    34 	}
    25 	},
       
    26 	"editorStyle": "wp-block-categories-editor",
       
    27 	"style": "wp-block-categories"
    35 }
    28 }