2022-04-12 17:12:47 +02:00
|
|
|
{
|
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
2023-06-27 16:24:19 +02:00
|
|
|
"apiVersion": 3,
|
2022-04-12 17:12:47 +02:00
|
|
|
"name": "core/comments-pagination",
|
|
|
|
"title": "Comments Pagination",
|
|
|
|
"category": "theme",
|
2022-09-20 17:43:29 +02:00
|
|
|
"parent": [ "core/comments" ],
|
2024-02-09 19:22:22 +01:00
|
|
|
"allowedBlocks": [
|
|
|
|
"core/comments-pagination-previous",
|
|
|
|
"core/comments-pagination-numbers",
|
|
|
|
"core/comments-pagination-next"
|
|
|
|
],
|
2022-04-12 17:12:47 +02:00
|
|
|
"description": "Displays a paginated navigation to next/previous set of comments, when applicable.",
|
|
|
|
"textdomain": "default",
|
|
|
|
"attributes": {
|
|
|
|
"paginationArrow": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "none"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"providesContext": {
|
|
|
|
"comments/paginationArrow": "paginationArrow"
|
|
|
|
},
|
|
|
|
"supports": {
|
|
|
|
"align": true,
|
|
|
|
"reusable": false,
|
|
|
|
"html": false,
|
|
|
|
"color": {
|
|
|
|
"gradients": true,
|
|
|
|
"link": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"background": true,
|
|
|
|
"text": true,
|
|
|
|
"link": true
|
|
|
|
}
|
|
|
|
},
|
2023-06-27 16:24:19 +02:00
|
|
|
"layout": {
|
2022-04-12 17:12:47 +02:00
|
|
|
"allowSwitching": false,
|
|
|
|
"allowInheriting": false,
|
|
|
|
"default": {
|
|
|
|
"type": "flex"
|
|
|
|
}
|
2022-09-20 17:43:29 +02:00
|
|
|
},
|
|
|
|
"typography": {
|
|
|
|
"fontSize": true,
|
|
|
|
"lineHeight": true,
|
|
|
|
"__experimentalFontFamily": true,
|
|
|
|
"__experimentalFontWeight": true,
|
|
|
|
"__experimentalFontStyle": true,
|
|
|
|
"__experimentalTextTransform": true,
|
|
|
|
"__experimentalTextDecoration": true,
|
|
|
|
"__experimentalLetterSpacing": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"fontSize": true
|
|
|
|
}
|
2024-02-09 19:22:22 +01:00
|
|
|
},
|
|
|
|
"interactivity": {
|
|
|
|
"clientNavigation": true
|
2022-04-12 17:12:47 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"editorStyle": "wp-block-comments-pagination-editor",
|
|
|
|
"style": "wp-block-comments-pagination"
|
|
|
|
}
|