Skip to content

Commit

Permalink
Adding spacing block supports to the list block (#43402)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonjd authored Aug 23, 2022
1 parent 19c8420 commit b36364a
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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions packages/block-library/src/list/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@
"text": true
}
},
"spacing": {
"margin": true,
"padding": true
},
"__unstablePasteTextInline": true,
"__experimentalSelector": "ol,ul",
"__experimentalSlashInserter": true
Expand Down

0 comments on commit b36364a

Please sign in to comment.