From b99eaedf9a2147413f11bbf70c6ddfe54258b09d Mon Sep 17 00:00:00 2001 From: Utsav Patel Date: Sun, 14 Jul 2024 23:41:10 +0530 Subject: [PATCH] update: added support for vertical alignment & readme file --- docs/reference-guides/core-blocks.md | 4 ++-- packages/block-library/src/columns/block.json | 7 +++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/docs/reference-guides/core-blocks.md b/docs/reference-guides/core-blocks.md index 595bd4c397e8e8..d1d9a318006606 100644 --- a/docs/reference-guides/core-blocks.md +++ b/docs/reference-guides/core-blocks.md @@ -107,8 +107,8 @@ Display content in multiple columns, with blocks added to each column. ([Source] - **Name:** core/columns - **Category:** design - **Allowed Blocks:** core/column -- **Supports:** align (full, wide), anchor, color (background, button, gradients, heading, link, text), interactivity (clientNavigation), layout (default, ~~allowEditing~~, ~~allowInheriting~~, ~~allowSwitching~~), shadow, spacing (blockGap, margin, padding), typography (fontSize, lineHeight), ~~html~~ -- **Attributes:** isStackedOnMobile, justification, templateLock, verticalAlignment +- **Supports:** align (full, wide), anchor, color (background, button, gradients, heading, link, text), interactivity (clientNavigation), layout (allowEditing, allowJustification, default, ~~allowInheriting~~, ~~allowSwitching~~, ~~allowVerticalAlignment~~), shadow, spacing (blockGap, margin, padding), typography (fontSize, lineHeight), ~~html~~ +- **Attributes:** isStackedOnMobile, templateLock, verticalAlignment ## Comment Author Avatar (deprecated) diff --git a/packages/block-library/src/columns/block.json b/packages/block-library/src/columns/block.json index dec7c8aa8e3470..1e0325872aa5ae 100644 --- a/packages/block-library/src/columns/block.json +++ b/packages/block-library/src/columns/block.json @@ -18,9 +18,6 @@ "templateLock": { "type": [ "string", "boolean" ], "enum": [ "all", "insert", "contentOnly", false ] - }, - "justification": { - "type": "string" } }, "supports": { @@ -52,7 +49,9 @@ "layout": { "allowSwitching": false, "allowInheriting": false, - "allowEditing": false, + "allowEditing": true, + "allowJustification": true, + "allowVerticalAlignment": false, "default": { "type": "flex", "flexWrap": "nowrap"