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.

60 lines
1.1 KiB

1 year ago
  1. {
  2. "$schema": "https://schemas.wp.org/trunk/block.json",
  3. "apiVersion": 3,
  4. "name": "core/post-terms",
  5. "title": "Post Terms",
  6. "category": "theme",
  7. "description": "Post terms.",
  8. "textdomain": "default",
  9. "attributes": {
  10. "term": {
  11. "type": "string"
  12. },
  13. "textAlign": {
  14. "type": "string"
  15. },
  16. "separator": {
  17. "type": "string",
  18. "default": ", "
  19. },
  20. "prefix": {
  21. "type": "string",
  22. "default": ""
  23. },
  24. "suffix": {
  25. "type": "string",
  26. "default": ""
  27. }
  28. },
  29. "usesContext": [ "postId", "postType" ],
  30. "supports": {
  31. "html": false,
  32. "color": {
  33. "gradients": true,
  34. "link": true,
  35. "__experimentalDefaultControls": {
  36. "background": true,
  37. "text": true,
  38. "link": true
  39. }
  40. },
  41. "spacing": {
  42. "margin": true,
  43. "padding": true
  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. "style": "wp-block-post-terms"
  60. }