From 12760b1b3955c0cb45cdd3ebb6df968b1a0a0a56 Mon Sep 17 00:00:00 2001 From: Nick Diego Date: Thu, 1 Sep 2022 00:17:06 -0500 Subject: [PATCH] Add spacing support to the Comment Date block. (#43656) --- docs/reference-guides/core-blocks.md | 2 +- packages/block-library/src/comment-date/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 1a2dda5ff66ed..8f2f94004d377 100644 --- a/docs/reference-guides/core-blocks.md +++ b/docs/reference-guides/core-blocks.md @@ -140,7 +140,7 @@ Displays the date on which the comment was posted. ([Source](https://github.com/ - **Name:** core/comment-date - **Category:** theme -- **Supports:** color (background, gradients, link, text), typography (fontSize, lineHeight), ~~html~~ +- **Supports:** color (background, gradients, link, text), spacing (margin, padding), typography (fontSize, lineHeight), ~~html~~ - **Attributes:** format, isLink ## Comment Edit Link diff --git a/packages/block-library/src/comment-date/block.json b/packages/block-library/src/comment-date/block.json index 7a007479ba312..e90cb0b0d8c4d 100644 --- a/packages/block-library/src/comment-date/block.json +++ b/packages/block-library/src/comment-date/block.json @@ -28,6 +28,10 @@ "link": true } }, + "spacing": { + "margin": true, + "padding": true + }, "typography": { "fontSize": true, "lineHeight": true,