Skip to content

Commit

Permalink
update: added support for vertical alignment & readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
up1512001 committed Jul 14, 2024
1 parent 258deec commit b99eaed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/reference-guides/core-blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
7 changes: 3 additions & 4 deletions packages/block-library/src/columns/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@
"templateLock": {
"type": [ "string", "boolean" ],
"enum": [ "all", "insert", "contentOnly", false ]
},
"justification": {
"type": "string"
}
},
"supports": {
Expand Down Expand Up @@ -52,7 +49,9 @@
"layout": {
"allowSwitching": false,
"allowInheriting": false,
"allowEditing": false,
"allowEditing": true,
"allowJustification": true,
"allowVerticalAlignment": false,
"default": {
"type": "flex",
"flexWrap": "nowrap"
Expand Down

0 comments on commit b99eaed

Please sign in to comment.