Skip to content

Commit

Permalink
Add spacing support to the Comment Edit Link block. (#43657)
Browse files Browse the repository at this point in the history
  • Loading branch information
ndiego committed Sep 1, 2022
1 parent 6d47fcd commit 250cf8f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference-guides/core-blocks.md
Expand Up @@ -149,7 +149,7 @@ Displays a link to edit the comment in the WordPress Dashboard. This link is onl

- **Name:** core/comment-edit-link
- **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:** linkTarget, textAlign

## Comment Reply Link
Expand Down
4 changes: 4 additions & 0 deletions packages/block-library/src/comment-edit-link/block.json
Expand Up @@ -28,6 +28,10 @@
"link": true
}
},
"spacing": {
"margin": true,
"padding": true
},
"typography": {
"fontSize": true,
"lineHeight": true,
Expand Down

0 comments on commit 250cf8f

Please sign in to comment.