From b36364adf21648e212e8945bae05a907feb83a50 Mon Sep 17 00:00:00 2001 From: Ramon Date: Wed, 24 Aug 2022 08:40:26 +1000 Subject: [PATCH] Adding spacing block supports to the list block (#43402) --- docs/reference-guides/core-blocks.md | 2 +- packages/block-library/src/list/block.json | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/reference-guides/core-blocks.md b/docs/reference-guides/core-blocks.md index 3449d35fe06fe..7bbe11243c30f 100644 --- a/docs/reference-guides/core-blocks.md +++ b/docs/reference-guides/core-blocks.md @@ -338,7 +338,7 @@ Create a bulleted or numbered list. ([Source](https://github.com/WordPress/guten - **Name:** core/list - **Category:** text -- **Supports:** __unstablePasteTextInline, anchor, color (background, gradients, link, text), typography (fontSize, lineHeight), ~~className~~ +- **Supports:** __unstablePasteTextInline, anchor, color (background, gradients, link, text), spacing (margin, padding), typography (fontSize, lineHeight), ~~className~~ - **Attributes:** ordered, placeholder, reversed, start, type, values ## List item diff --git a/packages/block-library/src/list/block.json b/packages/block-library/src/list/block.json index 0d68dbaae5d8f..0d49991f903b9 100644 --- a/packages/block-library/src/list/block.json +++ b/packages/block-library/src/list/block.json @@ -58,6 +58,10 @@ "text": true } }, + "spacing": { + "margin": true, + "padding": true + }, "__unstablePasteTextInline": true, "__experimentalSelector": "ol,ul", "__experimentalSlashInserter": true