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.

73 lines
1.5 KiB

1 year ago
  1. {
  2. "$schema": "https://schemas.wp.org/trunk/block.json",
  3. "apiVersion": 3,
  4. "name": "core/column",
  5. "title": "Column",
  6. "category": "design",
  7. "parent": [ "core/columns" ],
  8. "description": "A single column within a columns block.",
  9. "textdomain": "default",
  10. "attributes": {
  11. "verticalAlignment": {
  12. "type": "string"
  13. },
  14. "width": {
  15. "type": "string"
  16. },
  17. "allowedBlocks": {
  18. "type": "array"
  19. },
  20. "templateLock": {
  21. "type": [ "string", "boolean" ],
  22. "enum": [ "all", "insert", "contentOnly", false ]
  23. }
  24. },
  25. "supports": {
  26. "__experimentalOnEnter": true,
  27. "anchor": true,
  28. "reusable": false,
  29. "html": false,
  30. "color": {
  31. "gradients": true,
  32. "heading": true,
  33. "button": true,
  34. "link": true,
  35. "__experimentalDefaultControls": {
  36. "background": true,
  37. "text": true
  38. }
  39. },
  40. "spacing": {
  41. "blockGap": true,
  42. "padding": true,
  43. "__experimentalDefaultControls": {
  44. "padding": true,
  45. "blockGap": true
  46. }
  47. },
  48. "__experimentalBorder": {
  49. "color": true,
  50. "style": true,
  51. "width": true,
  52. "__experimentalDefaultControls": {
  53. "color": true,
  54. "style": true,
  55. "width": true
  56. }
  57. },
  58. "typography": {
  59. "fontSize": true,
  60. "lineHeight": true,
  61. "__experimentalFontFamily": true,
  62. "__experimentalFontWeight": true,
  63. "__experimentalFontStyle": true,
  64. "__experimentalTextTransform": true,
  65. "__experimentalTextDecoration": true,
  66. "__experimentalLetterSpacing": true,
  67. "__experimentalDefaultControls": {
  68. "fontSize": true
  69. }
  70. },
  71. "layout": true
  72. }
  73. }