From 1418afc9b662b8bdb5d35a7bdb6d9ba9b28b69bb Mon Sep 17 00:00:00 2001 From: Carolina Nymark Date: Wed, 10 Jul 2024 04:47:42 +0200 Subject: [PATCH] Group: add block support for shadow (#63295) Group: add block support for shadow. Co-authored-by: carolinan Co-authored-by: vcanales Co-authored-by: ndiego Co-authored-by: bgardner Co-authored-by: madhusudhand Co-authored-by: andreawetzel Co-authored-by: noisysocks --- docs/reference-guides/core-blocks.md | 2 +- packages/block-library/src/group/block.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/reference-guides/core-blocks.md b/docs/reference-guides/core-blocks.md index 4bfe230f6df034..67cebe47fc41bb 100644 --- a/docs/reference-guides/core-blocks.md +++ b/docs/reference-guides/core-blocks.md @@ -350,7 +350,7 @@ Gather blocks in a layout container. ([Source](https://github.com/WordPress/gute - **Name:** core/group - **Category:** design -- **Supports:** align (full, wide), anchor, ariaLabel, background (backgroundImage, backgroundSize), color (background, button, gradients, heading, link, text), dimensions (minHeight), interactivity (clientNavigation), layout (allowSizingOnChildren), position (sticky), spacing (blockGap, margin, padding), typography (fontSize, lineHeight), ~~html~~ +- **Supports:** align (full, wide), anchor, ariaLabel, background (backgroundImage, backgroundSize), color (background, button, gradients, heading, link, text), dimensions (minHeight), interactivity (clientNavigation), layout (allowSizingOnChildren), position (sticky), shadow, spacing (blockGap, margin, padding), typography (fontSize, lineHeight), ~~html~~ - **Attributes:** allowedBlocks, tagName, templateLock ## Heading diff --git a/packages/block-library/src/group/block.json b/packages/block-library/src/group/block.json index db7d09c55d2c0d..3c7d8d3ce1310a 100644 --- a/packages/block-library/src/group/block.json +++ b/packages/block-library/src/group/block.json @@ -45,6 +45,7 @@ "text": true } }, + "shadow": true, "spacing": { "margin": [ "top", "bottom" ], "padding": true,