2020-07-01 08:29:03 -04:00
|
|
|
{
|
2022-04-12 11:12:47 -04:00
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
2023-06-27 10:24:19 -04:00
|
|
|
"apiVersion": 3,
|
2020-07-01 08:29:03 -04:00
|
|
|
"name": "core/column",
|
2021-05-19 11:09:27 -04:00
|
|
|
"title": "Column",
|
2023-06-27 10:24:19 -04:00
|
|
|
"category": "design",
|
2021-05-07 07:48:27 -04:00
|
|
|
"parent": [ "core/columns" ],
|
2021-05-19 11:09:27 -04:00
|
|
|
"description": "A single column within a columns block.",
|
|
|
|
"textdomain": "default",
|
2020-07-01 08:29:03 -04:00
|
|
|
"attributes": {
|
|
|
|
"verticalAlignment": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"width": {
|
2020-10-20 09:36:16 -04:00
|
|
|
"type": "string"
|
|
|
|
},
|
2021-11-08 09:29:21 -05:00
|
|
|
"allowedBlocks": {
|
|
|
|
"type": "array"
|
|
|
|
},
|
2020-10-20 09:36:16 -04:00
|
|
|
"templateLock": {
|
2021-11-10 01:01:30 -05:00
|
|
|
"type": [ "string", "boolean" ],
|
2022-09-20 11:43:29 -04:00
|
|
|
"enum": [ "all", "insert", "contentOnly", false ]
|
2020-07-01 08:29:03 -04:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"supports": {
|
2020-07-07 10:43:35 -04:00
|
|
|
"anchor": true,
|
2020-07-01 08:29:03 -04:00
|
|
|
"reusable": false,
|
2021-05-21 06:14:23 -04:00
|
|
|
"html": false,
|
|
|
|
"color": {
|
|
|
|
"gradients": true,
|
2022-04-12 11:12:47 -04:00
|
|
|
"link": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"background": true,
|
|
|
|
"text": true
|
|
|
|
}
|
2021-05-21 06:14:23 -04:00
|
|
|
},
|
|
|
|
"spacing": {
|
2022-04-12 11:12:47 -04:00
|
|
|
"blockGap": true,
|
2021-11-08 09:29:21 -05:00
|
|
|
"padding": true,
|
|
|
|
"__experimentalDefaultControls": {
|
2023-06-27 10:24:19 -04:00
|
|
|
"padding": true,
|
|
|
|
"blockGap": true
|
2021-11-08 09:29:21 -05:00
|
|
|
}
|
2022-04-12 11:12:47 -04:00
|
|
|
},
|
2022-09-20 11:43:29 -04:00
|
|
|
"__experimentalBorder": {
|
|
|
|
"color": true,
|
|
|
|
"style": true,
|
|
|
|
"width": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"color": true,
|
|
|
|
"style": true,
|
|
|
|
"width": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typography": {
|
|
|
|
"fontSize": true,
|
|
|
|
"lineHeight": true,
|
|
|
|
"__experimentalFontFamily": true,
|
|
|
|
"__experimentalFontWeight": true,
|
|
|
|
"__experimentalFontStyle": true,
|
|
|
|
"__experimentalTextTransform": true,
|
|
|
|
"__experimentalTextDecoration": true,
|
|
|
|
"__experimentalLetterSpacing": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"fontSize": true
|
|
|
|
}
|
|
|
|
},
|
2023-06-27 10:24:19 -04:00
|
|
|
"layout": true
|
2020-07-01 08:29:03 -04:00
|
|
|
}
|
|
|
|
}
|