wp/wp-includes/blocks/comments-pagination/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/comments-pagination",
       
     5 	"title": "Comments Pagination",
       
     6 	"category": "theme",
       
     7 	"parent": [ "core/comments-query-loop" ],
       
     8 	"description": "Displays a paginated navigation to next/previous set of comments, when applicable.",
       
     9 	"textdomain": "default",
       
    10 	"attributes": {
       
    11 		"paginationArrow": {
       
    12 			"type": "string",
       
    13 			"default": "none"
       
    14 		}
       
    15 	},
       
    16 	"providesContext": {
       
    17 		"comments/paginationArrow": "paginationArrow"
       
    18 	},
       
    19 	"supports": {
       
    20 		"align": true,
       
    21 		"reusable": false,
       
    22 		"html": false,
       
    23 		"color": {
       
    24 			"gradients": true,
       
    25 			"link": true,
       
    26 			"__experimentalDefaultControls": {
       
    27 				"background": true,
       
    28 				"text": true,
       
    29 				"link": true
       
    30 			}
       
    31 		},
       
    32 		"__experimentalLayout": {
       
    33 			"allowSwitching": false,
       
    34 			"allowInheriting": false,
       
    35 			"default": {
       
    36 				"type": "flex"
       
    37 			}
       
    38 		}
       
    39 	},
       
    40 	"editorStyle": "wp-block-comments-pagination-editor",
       
    41 	"style": "wp-block-comments-pagination"
       
    42 }