wp/wp-includes/blocks/calendar/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/calendar",
     3 	"name": "core/calendar",
       
     4 	"title": "Calendar",
     3 	"category": "widgets",
     5 	"category": "widgets",
       
     6 	"description": "A calendar of your site’s posts.",
       
     7 	"keywords": [ "posts", "archive" ],
       
     8 	"textdomain": "default",
     4 	"attributes": {
     9 	"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 		"month": {
    10 		"month": {
    19 			"type": "integer"
    11 			"type": "integer"
    20 		},
    12 		},
    21 		"year": {
    13 		"year": {
    22 			"type": "integer"
    14 			"type": "integer"
    23 		}
    15 		}
    24 	},
    16 	},
    25 	"supports": {
    17 	"supports": {
    26 		"align": true
    18 		"align": true
    27 	}
    19 	},
       
    20 	"style": "wp-block-calendar"
    28 }
    21 }