From fb121ac8e84d0a19ee895884f3309d37df8d925f Mon Sep 17 00:00:00 2001 From: Carolina Nymark Date: Mon, 17 Oct 2022 09:20:12 +0200 Subject: [PATCH] Post excerpt: Add layout and align / wide support --- docs/reference-guides/core-blocks.md | 2 +- packages/block-library/src/post-excerpt/block.json | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/reference-guides/core-blocks.md b/docs/reference-guides/core-blocks.md index 666441f239b0f..5d159804f85c0 100644 --- a/docs/reference-guides/core-blocks.md +++ b/docs/reference-guides/core-blocks.md @@ -536,7 +536,7 @@ Display a post's excerpt. ([Source](https://github.com/WordPress/gutenberg/tree/ - **Name:** core/post-excerpt - **Category:** theme -- **Supports:** color (background, gradients, link, text), spacing (margin, padding), typography (fontSize, lineHeight), ~~html~~ +- **Supports:** align (full, wide), color (background, gradients, link, text), spacing (margin, padding), typography (fontSize, lineHeight), ~~html~~ - **Attributes:** moreText, showMoreOnNewLine, textAlign ## Post Featured Image diff --git a/packages/block-library/src/post-excerpt/block.json b/packages/block-library/src/post-excerpt/block.json index 03107ff900e06..82462f05cd2c3 100644 --- a/packages/block-library/src/post-excerpt/block.json +++ b/packages/block-library/src/post-excerpt/block.json @@ -20,6 +20,8 @@ }, "usesContext": [ "postId", "postType", "queryId" ], "supports": { + "align": [ "wide", "full" ], + "__experimentalLayout": true, "html": false, "color": { "gradients": true,