Skip to content

Commit

Permalink
Add margin support for query-pagination block
Browse files Browse the repository at this point in the history
  • Loading branch information
prasadkarmalkar committed Dec 31, 2024
1 parent 12f7764 commit 4bf2710
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference-guides/core-blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ Displays a paginated navigation to next/previous set of posts, when applicable.
- **Category:** theme
- **Ancestor:** core/query
- **Allowed Blocks:** core/query-pagination-previous, core/query-pagination-numbers, core/query-pagination-next
- **Supports:** align, color (background, gradients, link, text), interactivity (clientNavigation), layout (default, ~~allowInheriting~~, ~~allowSwitching~~), typography (fontSize, lineHeight), ~~html~~, ~~reusable~~
- **Supports:** align, color (background, gradients, link, text), interactivity (clientNavigation), layout (default, ~~allowInheriting~~, ~~allowSwitching~~), spacing (margin), typography (fontSize, lineHeight), ~~html~~, ~~reusable~~
- **Attributes:** paginationArrow, showLabel

## Next Page
Expand Down
3 changes: 3 additions & 0 deletions packages/block-library/src/query-pagination/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@
},
"interactivity": {
"clientNavigation": true
},
"spacing": {
"margin": true
}
},
"editorStyle": "wp-block-query-pagination-editor",
Expand Down

0 comments on commit 4bf2710

Please sign in to comment.