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.

55 lines
1.1 KiB

1 year ago
  1. {
  2. "$schema": "https://schemas.wp.org/trunk/block.json",
  3. "apiVersion": 3,
  4. "name": "core/post-navigation-link",
  5. "title": "Post Navigation Link",
  6. "category": "theme",
  7. "description": "Displays the next or previous post link that is adjacent to the current post.",
  8. "textdomain": "default",
  9. "attributes": {
  10. "textAlign": {
  11. "type": "string"
  12. },
  13. "type": {
  14. "type": "string",
  15. "default": "next"
  16. },
  17. "label": {
  18. "type": "string"
  19. },
  20. "showTitle": {
  21. "type": "boolean",
  22. "default": false
  23. },
  24. "linkLabel": {
  25. "type": "boolean",
  26. "default": false
  27. },
  28. "arrow": {
  29. "type": "string",
  30. "default": "none"
  31. }
  32. },
  33. "supports": {
  34. "reusable": false,
  35. "html": false,
  36. "color": {
  37. "link": true
  38. },
  39. "typography": {
  40. "fontSize": true,
  41. "lineHeight": true,
  42. "__experimentalFontFamily": true,
  43. "__experimentalFontWeight": true,
  44. "__experimentalFontStyle": true,
  45. "__experimentalTextTransform": true,
  46. "__experimentalTextDecoration": true,
  47. "__experimentalLetterSpacing": true,
  48. "__experimentalWritingMode": true,
  49. "__experimentalDefaultControls": {
  50. "fontSize": true
  51. }
  52. }
  53. },
  54. "style": "wp-block-post-navigation-link"
  55. }