wp/wp-includes/blocks/archives/block.json
changeset 21 48c4eec2b7e6
parent 19 3d72ae0968f4
child 22 8c2e4d02f4ef
equal deleted inserted replaced
20:7b1b88e27a20 21:48c4eec2b7e6
     1 {
     1 {
     2 	"$schema": "https://schemas.wp.org/trunk/block.json",
     2 	"$schema": "https://schemas.wp.org/trunk/block.json",
     3 	"apiVersion": 2,
     3 	"apiVersion": 3,
     4 	"name": "core/archives",
     4 	"name": "core/archives",
     5 	"title": "Archives",
     5 	"title": "Archives",
     6 	"category": "widgets",
     6 	"category": "widgets",
     7 	"description": "Display a date archive of your posts.",
     7 	"description": "Display a date archive of your posts.",
     8 	"textdomain": "default",
     8 	"textdomain": "default",
     9 	"attributes": {
     9 	"attributes": {
    10 		"displayAsDropdown": {
    10 		"displayAsDropdown": {
    11 			"type": "boolean",
    11 			"type": "boolean",
    12 			"default": false
    12 			"default": false
       
    13 		},
       
    14 		"showLabel": {
       
    15 			"type": "boolean",
       
    16 			"default": true
    13 		},
    17 		},
    14 		"showPostCounts": {
    18 		"showPostCounts": {
    15 			"type": "boolean",
    19 			"type": "boolean",
    16 			"default": false
    20 			"default": false
    17 		},
    21 		},
    20 			"default": "monthly"
    24 			"default": "monthly"
    21 		}
    25 		}
    22 	},
    26 	},
    23 	"supports": {
    27 	"supports": {
    24 		"align": true,
    28 		"align": true,
    25 		"html": false
    29 		"html": false,
       
    30 		"spacing": {
       
    31 			"margin": true,
       
    32 			"padding": true,
       
    33 			"__experimentalDefaultControls": {
       
    34 				"margin": false,
       
    35 				"padding": false
       
    36 			}
       
    37 		},
       
    38 		"typography": {
       
    39 			"fontSize": true,
       
    40 			"lineHeight": true,
       
    41 			"__experimentalFontFamily": true,
       
    42 			"__experimentalFontWeight": true,
       
    43 			"__experimentalFontStyle": true,
       
    44 			"__experimentalTextTransform": true,
       
    45 			"__experimentalTextDecoration": true,
       
    46 			"__experimentalLetterSpacing": true,
       
    47 			"__experimentalDefaultControls": {
       
    48 				"fontSize": true
       
    49 			}
       
    50 		},
       
    51 		"interactivity": {
       
    52 			"clientNavigation": true
       
    53 		}
    26 	},
    54 	},
    27 	"editorStyle": "wp-block-archives-editor"
    55 	"editorStyle": "wp-block-archives-editor"
    28 }
    56 }