From 1c734f5828694fba254c97514623a4c71a0292f6 Mon Sep 17 00:00:00 2001 From: Nick Diego <ndiego@outermost.co> Date: Sun, 21 Aug 2022 12:39:04 -0500 Subject: [PATCH] Adding padding support to headings. --- docs/reference-guides/core-blocks.md | 2 +- packages/block-library/src/heading/block.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/reference-guides/core-blocks.md b/docs/reference-guides/core-blocks.md index b8beeef967900..e740aebb01dcc 100644 --- a/docs/reference-guides/core-blocks.md +++ b/docs/reference-guides/core-blocks.md @@ -284,7 +284,7 @@ Introduce new sections and organize content to help visitors (and search engines - **Name:** core/heading - **Category:** text -- **Supports:** __unstablePasteTextInline, align (full, wide), anchor, color (background, gradients, link, text), spacing (margin), typography (fontSize, lineHeight), ~~className~~ +- **Supports:** __unstablePasteTextInline, align (full, wide), anchor, color (background, gradients, link, text), spacing (margin, padding), typography (fontSize, lineHeight), ~~className~~ - **Attributes:** content, level, placeholder, textAlign ## Home Link diff --git a/packages/block-library/src/heading/block.json b/packages/block-library/src/heading/block.json index fedf4a9bb3e59..ecb809e18fd45 100644 --- a/packages/block-library/src/heading/block.json +++ b/packages/block-library/src/heading/block.json @@ -39,7 +39,8 @@ } }, "spacing": { - "margin": true + "margin": true, + "padding": true }, "typography": { "fontSize": true,