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.

91 lines
1.9 KiB

1 year ago
  1. {
  2. "$schema": "https://schemas.wp.org/trunk/block.json",
  3. "apiVersion": 3,
  4. "name": "core/group",
  5. "title": "Group",
  6. "category": "design",
  7. "description": "Gather blocks in a layout container.",
  8. "keywords": [ "container", "wrapper", "row", "section" ],
  9. "textdomain": "default",
  10. "attributes": {
  11. "tagName": {
  12. "type": "string",
  13. "default": "div"
  14. },
  15. "templateLock": {
  16. "type": [ "string", "boolean" ],
  17. "enum": [ "all", "insert", "contentOnly", false ]
  18. },
  19. "allowedBlocks": {
  20. "type": "array"
  21. }
  22. },
  23. "supports": {
  24. "__experimentalOnEnter": true,
  25. "__experimentalOnMerge": true,
  26. "__experimentalSettings": true,
  27. "__experimentalMetadata": true,
  28. "align": [ "wide", "full" ],
  29. "anchor": true,
  30. "ariaLabel": true,
  31. "html": false,
  32. "background": {
  33. "backgroundImage": true
  34. },
  35. "color": {
  36. "gradients": true,
  37. "heading": true,
  38. "button": true,
  39. "link": true,
  40. "__experimentalDefaultControls": {
  41. "background": true,
  42. "text": true
  43. }
  44. },
  45. "spacing": {
  46. "margin": [ "top", "bottom" ],
  47. "padding": true,
  48. "blockGap": true,
  49. "__experimentalDefaultControls": {
  50. "padding": true,
  51. "blockGap": true
  52. }
  53. },
  54. "dimensions": {
  55. "minHeight": true
  56. },
  57. "__experimentalBorder": {
  58. "color": true,
  59. "radius": true,
  60. "style": true,
  61. "width": true,
  62. "__experimentalDefaultControls": {
  63. "color": true,
  64. "radius": true,
  65. "style": true,
  66. "width": true
  67. }
  68. },
  69. "position": {
  70. "sticky": true
  71. },
  72. "typography": {
  73. "fontSize": true,
  74. "lineHeight": true,
  75. "__experimentalFontFamily": true,
  76. "__experimentalFontWeight": true,
  77. "__experimentalFontStyle": true,
  78. "__experimentalTextTransform": true,
  79. "__experimentalTextDecoration": true,
  80. "__experimentalLetterSpacing": true,
  81. "__experimentalDefaultControls": {
  82. "fontSize": true
  83. }
  84. },
  85. "layout": {
  86. "allowSizingOnChildren": true
  87. }
  88. },
  89. "editorStyle": "wp-block-group-editor",
  90. "style": "wp-block-group"
  91. }