From 9d962b938d49d45b06438ff651a75127dff97789 Mon Sep 17 00:00:00 2001 From: Nick Diego Date: Fri, 26 Aug 2022 14:40:29 -0500 Subject: [PATCH] Add spacing support to the Comment Date block. --- 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 3d2f9a11f91a2d..d66f11227efb68 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 7a007479ba3128..e90cb0b0d8c4dc 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,