You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
1.4 KiB

1 year ago
  1. {
  2. "$schema": "https://schemas.wp.org/trunk/block.json",
  3. "apiVersion": 3,
  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. "showLabel": {
  16. "type": "boolean",
  17. "default": true
  18. }
  19. },
  20. "usesContext": [ "queryId", "query" ],
  21. "providesContext": {
  22. "paginationArrow": "paginationArrow",
  23. "showLabel": "showLabel"
  24. },
  25. "supports": {
  26. "align": true,
  27. "reusable": false,
  28. "html": false,
  29. "color": {
  30. "gradients": true,
  31. "link": true,
  32. "__experimentalDefaultControls": {
  33. "background": true,
  34. "text": true,
  35. "link": true
  36. }
  37. },
  38. "layout": {
  39. "allowSwitching": false,
  40. "allowInheriting": false,
  41. "default": {
  42. "type": "flex"
  43. }
  44. },
  45. "typography": {
  46. "fontSize": true,
  47. "lineHeight": true,
  48. "__experimentalFontFamily": true,
  49. "__experimentalFontWeight": true,
  50. "__experimentalFontStyle": true,
  51. "__experimentalTextTransform": true,
  52. "__experimentalTextDecoration": true,
  53. "__experimentalLetterSpacing": true,
  54. "__experimentalDefaultControls": {
  55. "fontSize": true
  56. }
  57. }
  58. },
  59. "editorStyle": "wp-block-query-pagination-editor",
  60. "style": "wp-block-query-pagination"
  61. }