From 493c35989af6d6b467abaaf362fa65730e4f3c3b Mon Sep 17 00:00:00 2001 From: Sarah Norris Date: Mon, 24 Jul 2023 16:24:46 +0100 Subject: [PATCH] Footnotes: Add link, background and text color support --- docs/reference-guides/core-blocks.md | 2 +- packages/block-library/src/footnotes/block.json | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/reference-guides/core-blocks.md b/docs/reference-guides/core-blocks.md index 62604319e9aa0..afc50e46ad2d5 100644 --- a/docs/reference-guides/core-blocks.md +++ b/docs/reference-guides/core-blocks.md @@ -275,7 +275,7 @@ Add a link to a downloadable file. ([Source](https://github.com/WordPress/gutenb - **Name:** core/footnotes - **Category:** text -- **Supports:** ~~html~~, ~~multiple~~, ~~reusable~~ +- **Supports:** color (background, link, text), ~~html~~, ~~multiple~~, ~~reusable~~ - **Attributes:** ## Classic diff --git a/packages/block-library/src/footnotes/block.json b/packages/block-library/src/footnotes/block.json index e021e9c5225da..6a94c42eb42e5 100644 --- a/packages/block-library/src/footnotes/block.json +++ b/packages/block-library/src/footnotes/block.json @@ -9,6 +9,13 @@ "textdomain": "default", "usesContext": [ "postId", "postType" ], "supports": { + "color": { + "link": true, + "__experimentalDefaultControls": { + "background": true, + "text": true + } + }, "html": false, "multiple": false, "reusable": false