summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/text-columns/block.json
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/blocks/text-columns/block.json')
-rw-r--r--wp-includes/blocks/text-columns/block.json36
1 files changed, 36 insertions, 0 deletions
diff --git a/wp-includes/blocks/text-columns/block.json b/wp-includes/blocks/text-columns/block.json
new file mode 100644
index 0000000..3af169f
--- /dev/null
+++ b/wp-includes/blocks/text-columns/block.json
@@ -0,0 +1,36 @@
+{
+ "$schema": "https://schemas.wp.org/trunk/block.json",
+ "apiVersion": 3,
+ "name": "core/text-columns",
+ "title": "Text Columns (deprecated)",
+ "icon": "columns",
+ "category": "design",
+ "description": "This block is deprecated. Please use the Columns block instead.",
+ "textdomain": "default",
+ "attributes": {
+ "content": {
+ "type": "array",
+ "source": "query",
+ "selector": "p",
+ "query": {
+ "children": {
+ "type": "string",
+ "source": "html"
+ }
+ },
+ "default": [ {}, {} ]
+ },
+ "columns": {
+ "type": "number",
+ "default": 2
+ },
+ "width": {
+ "type": "string"
+ }
+ },
+ "supports": {
+ "inserter": false
+ },
+ "editorStyle": "wp-block-text-columns-editor",
+ "style": "wp-block-text-columns"
+}