wp/wp-includes/blocks/query-pagination/block.json
changeset 19 3d72ae0968f4
parent 18 be944660c56a
child 21 48c4eec2b7e6
equal deleted inserted replaced
18:be944660c56a 19:3d72ae0968f4
     1 {
     1 {
       
     2 	"$schema": "https://schemas.wp.org/trunk/block.json",
     2 	"apiVersion": 2,
     3 	"apiVersion": 2,
     3 	"name": "core/query-pagination",
     4 	"name": "core/query-pagination",
     4 	"title": "Query Pagination",
     5 	"title": "Pagination",
     5 	"category": "design",
     6 	"category": "theme",
     6 	"parent": [ "core/query" ],
     7 	"parent": [ "core/query" ],
     7 	"description": "Displays a paginated navigation to next/previous set of posts, when applicable.",
     8 	"description": "Displays a paginated navigation to next/previous set of posts, when applicable.",
     8 	"textdomain": "default",
     9 	"textdomain": "default",
       
    10 	"attributes": {
       
    11 		"paginationArrow": {
       
    12 			"type": "string",
       
    13 			"default": "none"
       
    14 		}
       
    15 	},
     9 	"usesContext": [ "queryId", "query" ],
    16 	"usesContext": [ "queryId", "query" ],
       
    17 	"providesContext": {
       
    18 		"paginationArrow": "paginationArrow"
       
    19 	},
    10 	"supports": {
    20 	"supports": {
    11 		"align": true,
    21 		"align": true,
    12 		"reusable": false,
    22 		"reusable": false,
    13 		"html": false,
    23 		"html": false,
    14 		"color": {
    24 		"color": {
    15 			"gradients": true,
    25 			"gradients": true,
    16 			"link": true
    26 			"link": true,
       
    27 			"__experimentalDefaultControls": {
       
    28 				"background": true,
       
    29 				"text": true,
       
    30 				"link": true
       
    31 			}
       
    32 		},
       
    33 		"__experimentalLayout": {
       
    34 			"allowSwitching": false,
       
    35 			"allowInheriting": false,
       
    36 			"default": {
       
    37 				"type": "flex"
       
    38 			}
    17 		}
    39 		}
    18 	},
    40 	},
    19 	"editorStyle": "wp-block-query-pagination-editor",
    41 	"editorStyle": "wp-block-query-pagination-editor",
    20 	"style": "wp-block-query-pagination"
    42 	"style": "wp-block-query-pagination"
    21 }
    43 }