Skip to content

Commit

Permalink
Adding color block supports to table of contents block
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonjd committed Aug 18, 2022
1 parent f360185 commit f5aa5c2
Show file tree
Hide file tree
Showing 2 changed files with 8 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:** color (background, gradients, link, text), ~~html~~
- **Attributes:** headings, onlyIncludeCurrentPage

## Tag Cloud
Expand Down
8 changes: 7 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,13 @@
}
},
"supports": {
"html": false
"html": false,
"color": {
"text": true,
"background": true,
"gradients": true,
"link": true
}
},
"example": {}
}

0 comments on commit f5aa5c2

Please sign in to comment.