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.

43 lines
974 B

1 year ago
  1. {
  2. "$schema": "https://schemas.wp.org/trunk/block.json",
  3. "apiVersion": 3,
  4. "name": "core/calendar",
  5. "title": "Calendar",
  6. "category": "widgets",
  7. "description": "A calendar of your site’s posts.",
  8. "keywords": [ "posts", "archive" ],
  9. "textdomain": "default",
  10. "attributes": {
  11. "month": {
  12. "type": "integer"
  13. },
  14. "year": {
  15. "type": "integer"
  16. }
  17. },
  18. "supports": {
  19. "align": true,
  20. "color": {
  21. "link": true,
  22. "__experimentalSkipSerialization": [ "text", "background" ],
  23. "__experimentalDefaultControls": {
  24. "background": true,
  25. "text": true
  26. },
  27. "__experimentalSelector": "table, th"
  28. },
  29. "typography": {
  30. "fontSize": true,
  31. "lineHeight": true,
  32. "__experimentalFontFamily": true,
  33. "__experimentalFontWeight": true,
  34. "__experimentalFontStyle": true,
  35. "__experimentalTextTransform": true,
  36. "__experimentalLetterSpacing": true,
  37. "__experimentalDefaultControls": {
  38. "fontSize": true
  39. }
  40. }
  41. },
  42. "style": "wp-block-calendar"
  43. }