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.

49 lines
1.0 KiB

1 year ago
  1. {
  2. "$schema": "https://schemas.wp.org/trunk/block.json",
  3. "apiVersion": 3,
  4. "name": "core/comment-date",
  5. "title": "Comment Date",
  6. "category": "theme",
  7. "ancestor": [ "core/comment-template" ],
  8. "description": "Displays the date on which the comment was posted.",
  9. "textdomain": "default",
  10. "attributes": {
  11. "format": {
  12. "type": "string"
  13. },
  14. "isLink": {
  15. "type": "boolean",
  16. "default": true
  17. }
  18. },
  19. "usesContext": [ "commentId" ],
  20. "supports": {
  21. "html": false,
  22. "color": {
  23. "gradients": true,
  24. "link": true,
  25. "__experimentalDefaultControls": {
  26. "background": true,
  27. "text": true,
  28. "link": true
  29. }
  30. },
  31. "spacing": {
  32. "margin": true,
  33. "padding": true
  34. },
  35. "typography": {
  36. "fontSize": true,
  37. "lineHeight": true,
  38. "__experimentalFontFamily": true,
  39. "__experimentalFontWeight": true,
  40. "__experimentalFontStyle": true,
  41. "__experimentalTextTransform": true,
  42. "__experimentalTextDecoration": true,
  43. "__experimentalLetterSpacing": true,
  44. "__experimentalDefaultControls": {
  45. "fontSize": true
  46. }
  47. }
  48. }
  49. }