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