diff --git a/docs/reference-guides/core-blocks.md b/docs/reference-guides/core-blocks.md index 6c37192d1799d..4c80e7223a966 100644 --- a/docs/reference-guides/core-blocks.md +++ b/docs/reference-guides/core-blocks.md @@ -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 diff --git a/packages/block-library/src/table-of-contents/block.json b/packages/block-library/src/table-of-contents/block.json index b305cb3242683..7a887ca4eb8fc 100644 --- a/packages/block-library/src/table-of-contents/block.json +++ b/packages/block-library/src/table-of-contents/block.json @@ -22,6 +22,12 @@ }, "supports": { "html": false, + "color": { + "text": true, + "background": true, + "gradients": true, + "link": true + }, "spacing": { "margin": true, "padding": true