Skip to content

Commit

Permalink
Adds List Item block anchor support
Browse files Browse the repository at this point in the history
  • Loading branch information
tomdevisser committed Mar 5, 2023
1 parent 95d52c4 commit 704e49a
Show file tree
Hide file tree
Showing 2 changed files with 2 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 @@ -347,7 +347,7 @@ Create a list item. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/

- **Name:** core/list-item
- **Category:** text
- **Supports:** typography (fontSize, lineHeight), ~~className~~
- **Supports:** anchor, typography (fontSize, lineHeight), ~~className~~
- **Attributes:** content, placeholder

## Login/out
Expand Down
1 change: 1 addition & 0 deletions packages/block-library/src/list-item/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
}
},
"supports": {
"anchor": true,
"className": false,
"__experimentalSelector": "li",
"typography": {
Expand Down

0 comments on commit 704e49a

Please sign in to comment.