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