Skip to content

Commit

Permalink
Adding spacing block supports to table of contents
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonjd committed Aug 18, 2022
1 parent 82df75d commit ee1a644
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/reference-guides/core-blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ Summarize your post with a list of headings. Add HTML anchors to Heading blocks

- **Name:** core/table-of-contents
- **Category:** layout
- **Supports:** ~~html~~
- **Supports:** spacing (margin, padding), ~~html~~
- **Attributes:** headings, onlyIncludeCurrentPage

## Tag Cloud
Expand Down
6 changes: 5 additions & 1 deletion packages/block-library/src/table-of-contents/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@
}
},
"supports": {
"html": false
"html": false,
"spacing": {
"margin": true,
"padding": true
}
},
"example": {}
}

0 comments on commit ee1a644

Please sign in to comment.