wp/wp-includes/blocks/post-navigation-link/block.json
changeset 19 3d72ae0968f4
child 21 48c4eec2b7e6
equal deleted inserted replaced
18:be944660c56a 19:3d72ae0968f4
       
     1 {
       
     2 	"$schema": "https://schemas.wp.org/trunk/block.json",
       
     3 	"apiVersion": 2,
       
     4 	"name": "core/post-navigation-link",
       
     5 	"title": "Post Navigation Link",
       
     6 	"category": "theme",
       
     7 	"description": "Displays the next or previous post link that is adjacent to the current post.",
       
     8 	"textdomain": "default",
       
     9 	"attributes": {
       
    10 		"textAlign": {
       
    11 			"type": "string"
       
    12 		},
       
    13 		"type": {
       
    14 			"type": "string",
       
    15 			"default": "next"
       
    16 		},
       
    17 		"label": {
       
    18 			"type": "string"
       
    19 		},
       
    20 		"showTitle": {
       
    21 			"type": "boolean",
       
    22 			"default": false
       
    23 		},
       
    24 		"linkLabel": {
       
    25 			"type": "boolean",
       
    26 			"default": false
       
    27 		}
       
    28 	},
       
    29 	"supports": {
       
    30 		"reusable": false,
       
    31 		"html": false,
       
    32 		"typography": {
       
    33 			"fontSize": true,
       
    34 			"lineHeight": true,
       
    35 			"__experimentalFontStyle": true,
       
    36 			"__experimentalFontWeight": true,
       
    37 			"__experimentalLetterSpacing": true,
       
    38 			"__experimentalTextTransform": true,
       
    39 			"__experimentalDefaultControls": {
       
    40 				"fontSize": true
       
    41 			}
       
    42 		}
       
    43 	}
       
    44 }