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 19, 2022
1 parent 3102e12 commit 67660ef
Show file tree
Hide file tree
Showing 2 changed files with 7 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 @@ -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:** spacing (margin, padding), ~~html~~
- **Supports:** color (background, gradients, link, text), spacing (margin, padding), ~~html~~
- **Attributes:** headings, onlyIncludeCurrentPage

## Tag Cloud
Expand Down
6 changes: 6 additions & 0 deletions packages/block-library/src/table-of-contents/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@
},
"supports": {
"html": false,
"color": {
"text": true,
"background": true,
"gradients": true,
"link": true
},
"spacing": {
"margin": true,
"padding": true
Expand Down

0 comments on commit 67660ef

Please sign in to comment.