wp/wp-includes/blocks/archives/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/archives",
     3 	"name": "core/archives",
       
     4 	"title": "Archives",
     3 	"category": "widgets",
     5 	"category": "widgets",
       
     6 	"description": "Display a monthly archive of your posts.",
       
     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 		"showPostCounts": {
    13 		"showPostCounts": {
    25 		}
    16 		}
    26 	},
    17 	},
    27 	"supports": {
    18 	"supports": {
    28 		"align": true,
    19 		"align": true,
    29 		"html": false
    20 		"html": false
    30 	}
    21 	},
       
    22 	"editorStyle": "wp-block-archives-editor"
    31 }
    23 }