diff --git a/docs/reference-guides/core-blocks.md b/docs/reference-guides/core-blocks.md index dd49d15685724..26a7650275767 100644 --- a/docs/reference-guides/core-blocks.md +++ b/docs/reference-guides/core-blocks.md @@ -755,7 +755,7 @@ Displays a list of page numbers for pagination. ([Source](https://github.com/Wor - **Name:** core/query-pagination-numbers - **Category:** theme - **Parent:** core/query-pagination -- **Supports:** color (background, gradients, ~~text~~), interactivity (clientNavigation), typography (fontSize, lineHeight), ~~html~~, ~~reusable~~ +- **Supports:** color (background, gradients, ~~text~~), interactivity (clientNavigation), spacing (margin, padding), typography (fontSize, lineHeight), ~~html~~, ~~reusable~~ - **Attributes:** midSize ## Previous Page diff --git a/packages/block-library/src/query-pagination-numbers/block.json b/packages/block-library/src/query-pagination-numbers/block.json index 8a9f0ee69f14e..841cee6a537c0 100644 --- a/packages/block-library/src/query-pagination-numbers/block.json +++ b/packages/block-library/src/query-pagination-numbers/block.json @@ -4,7 +4,9 @@ "name": "core/query-pagination-numbers", "title": "Page Numbers", "category": "theme", - "parent": [ "core/query-pagination" ], + "parent": [ + "core/query-pagination" + ], "description": "Displays a list of page numbers for pagination.", "textdomain": "default", "attributes": { @@ -13,7 +15,11 @@ "default": 2 } }, - "usesContext": [ "queryId", "query", "enhancedPagination" ], + "usesContext": [ + "queryId", + "query", + "enhancedPagination" + ], "supports": { "reusable": false, "html": false, @@ -37,9 +43,25 @@ "fontSize": true } }, + "spacing": { + "margin": true, + "padding": true + }, + "__experimentalBorder": { + "radius": true, + "color": true, + "width": true, + "style": true, + "__experimentalDefaultControls": { + "radius": true, + "color": true, + "width": true, + "style": true + } + }, "interactivity": { "clientNavigation": true } }, "editorStyle": "wp-block-query-pagination-numbers-editor" -} +} \ No newline at end of file