block.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {
  2. "$schema": "https://schemas.wp.org/trunk/block.json",
  3. "apiVersion": 2,
  4. "name": "core/query-pagination",
  5. "title": "Pagination",
  6. "category": "theme",
  7. "parent": [ "core/query" ],
  8. "description": "Displays a paginated navigation to next/previous set of posts, when applicable.",
  9. "textdomain": "default",
  10. "attributes": {
  11. "paginationArrow": {
  12. "type": "string",
  13. "default": "none"
  14. }
  15. },
  16. "usesContext": [ "queryId", "query" ],
  17. "providesContext": {
  18. "paginationArrow": "paginationArrow"
  19. },
  20. "supports": {
  21. "align": true,
  22. "reusable": false,
  23. "html": false,
  24. "color": {
  25. "gradients": 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. }
  39. },
  40. "typography": {
  41. "fontSize": true,
  42. "lineHeight": true,
  43. "__experimentalFontFamily": true,
  44. "__experimentalFontWeight": true,
  45. "__experimentalFontStyle": true,
  46. "__experimentalTextTransform": true,
  47. "__experimentalTextDecoration": true,
  48. "__experimentalLetterSpacing": true,
  49. "__experimentalDefaultControls": {
  50. "fontSize": true
  51. }
  52. }
  53. },
  54. "editorStyle": "wp-block-query-pagination-editor",
  55. "style": "wp-block-query-pagination"
  56. }