Skip to content

Commit

Permalink
Footnotes: Add link, background and text color support
Browse files Browse the repository at this point in the history
  • Loading branch information
mikachan committed Jul 24, 2023
1 parent 961d8ec commit 493c359
Show file tree
Hide file tree
Showing 2 changed files with 8 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 @@ -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
Expand Down
7 changes: 7 additions & 0 deletions packages/block-library/src/footnotes/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@
"textdomain": "default",
"usesContext": [ "postId", "postType" ],
"supports": {
"color": {
"link": true,
"__experimentalDefaultControls": {
"background": true,
"text": true
}
},
"html": false,
"multiple": false,
"reusable": false
Expand Down

0 comments on commit 493c359

Please sign in to comment.