From 2892f3c63d93e5e318cbd8aaf7e224bf49dbe88c Mon Sep 17 00:00:00 2001 From: Sarah Norris <1645628+mikachan@users.noreply.github.com> Date: Tue, 25 Jul 2023 16:19:09 +0100 Subject: [PATCH] Footnotes: Add link, background and text color support (#52897) --- 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