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.

56 lines
1.3 KiB

1 year ago
  1. {
  2. "$schema": "https://schemas.wp.org/trunk/block.json",
  3. "apiVersion": 3,
  4. "name": "core/post-template",
  5. "title": "Post Template",
  6. "category": "theme",
  7. "parent": [ "core/query" ],
  8. "description": "Contains the block elements used to render a post, like the title, date, featured image, content or excerpt, and more.",
  9. "textdomain": "default",
  10. "usesContext": [
  11. "queryId",
  12. "query",
  13. "queryContext",
  14. "displayLayout",
  15. "templateSlug",
  16. "previewPostType",
  17. "enhancedPagination"
  18. ],
  19. "supports": {
  20. "reusable": false,
  21. "html": false,
  22. "align": [ "wide", "full" ],
  23. "layout": true,
  24. "color": {
  25. "gradients": true,
  26. "link": true,
  27. "__experimentalDefaultControls": {
  28. "background": true,
  29. "text": true
  30. }
  31. },
  32. "typography": {
  33. "fontSize": true,
  34. "lineHeight": true,
  35. "__experimentalFontFamily": true,
  36. "__experimentalFontWeight": true,
  37. "__experimentalFontStyle": true,
  38. "__experimentalTextTransform": true,
  39. "__experimentalTextDecoration": true,
  40. "__experimentalLetterSpacing": true,
  41. "__experimentalDefaultControls": {
  42. "fontSize": true
  43. }
  44. },
  45. "spacing": {
  46. "blockGap": {
  47. "__experimentalDefault": "1.25em"
  48. },
  49. "__experimentalDefaultControls": {
  50. "blockGap": true
  51. }
  52. }
  53. },
  54. "style": "wp-block-post-template",
  55. "editorStyle": "wp-block-post-template-editor"
  56. }