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/columns",
|
2021-05-19 11:09:27 -04:00
|
|
|
"title": "Columns",
|
2020-07-01 08:29:03 -04:00
|
|
|
"category": "design",
|
2021-11-08 09:29:21 -05:00
|
|
|
"description": "Display content in multiple columns, with blocks added to each column.",
|
2021-05-19 11:09:27 -04:00
|
|
|
"textdomain": "default",
|
2020-07-01 08:29:03 -04:00
|
|
|
"attributes": {
|
|
|
|
"verticalAlignment": {
|
|
|
|
"type": "string"
|
2021-11-08 09:29:21 -05:00
|
|
|
},
|
|
|
|
"isStackedOnMobile": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
2023-06-27 10:24:19 -04:00
|
|
|
},
|
|
|
|
"templateLock": {
|
|
|
|
"type": [ "string", "boolean" ],
|
|
|
|
"enum": [ "all", "insert", "contentOnly", false ]
|
2020-07-01 08:29:03 -04:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"supports": {
|
2020-07-07 10:43:35 -04:00
|
|
|
"anchor": true,
|
2021-05-07 07:48:27 -04:00
|
|
|
"align": [ "wide", "full" ],
|
2020-07-01 08:29:03 -04:00
|
|
|
"html": false,
|
2020-10-20 09:36:16 -04:00
|
|
|
"color": {
|
2020-07-01 08:29:03 -04:00
|
|
|
"gradients": true,
|
2022-04-12 11:12:47 -04:00
|
|
|
"link": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"background": true,
|
|
|
|
"text": true
|
|
|
|
}
|
2021-11-08 09:29:21 -05:00
|
|
|
},
|
|
|
|
"spacing": {
|
2022-05-20 10:32:40 -04:00
|
|
|
"blockGap": {
|
2022-09-20 11:43:29 -04:00
|
|
|
"__experimentalDefault": "2em",
|
|
|
|
"sides": [ "horizontal", "vertical" ]
|
2022-05-20 10:32:40 -04:00
|
|
|
},
|
2021-11-08 09:29:21 -05:00
|
|
|
"margin": [ "top", "bottom" ],
|
|
|
|
"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
|
|
|
},
|
2023-06-27 10:24:19 -04:00
|
|
|
"layout": {
|
2022-04-12 11:12:47 -04:00
|
|
|
"allowSwitching": false,
|
|
|
|
"allowInheriting": false,
|
|
|
|
"allowEditing": false,
|
|
|
|
"default": {
|
|
|
|
"type": "flex",
|
|
|
|
"flexWrap": "nowrap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"__experimentalBorder": {
|
|
|
|
"color": true,
|
|
|
|
"radius": true,
|
|
|
|
"style": true,
|
|
|
|
"width": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"color": true,
|
|
|
|
"radius": true,
|
|
|
|
"style": true,
|
|
|
|
"width": true
|
|
|
|
}
|
2022-09-20 11:43:29 -04:00
|
|
|
},
|
|
|
|
"typography": {
|
|
|
|
"fontSize": true,
|
|
|
|
"lineHeight": true,
|
|
|
|
"__experimentalFontFamily": true,
|
|
|
|
"__experimentalFontWeight": true,
|
|
|
|
"__experimentalFontStyle": true,
|
|
|
|
"__experimentalTextTransform": true,
|
|
|
|
"__experimentalTextDecoration": true,
|
|
|
|
"__experimentalLetterSpacing": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"fontSize": true
|
|
|
|
}
|
2020-07-01 08:29:03 -04:00
|
|
|
}
|
2021-01-27 21:04:13 -05:00
|
|
|
},
|
|
|
|
"editorStyle": "wp-block-columns-editor",
|
|
|
|
"style": "wp-block-columns"
|
2020-07-01 08:29:03 -04:00
|
|
|
}
|