Skip to content

Commit

Permalink
Footnotes: Add link, background and text color support (#52897)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikachan authored Jul 25, 2023
1 parent f6834cc commit 2892f3c
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 2892f3c

Please sign in to comment.