Skip to content

Commit

Permalink
Only allow the term description block in the site editor. (WordPress#…
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinan authored and sethrubenstein committed Jul 13, 2023
1 parent 1001f34 commit 1f0c696
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/reference-guides/core-blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,7 @@ Edit the different global regions of your site, like the header, footer, sidebar
Display the description of categories, tags and custom taxonomies when viewing an archive. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/block-library/src/term-description))

- **Name:** core/term-description
- **Experimental:** fse
- **Category:** theme
- **Supports:** align (full, wide), color (background, link, text), spacing (margin, padding), typography (fontSize, lineHeight), ~~html~~
- **Attributes:** textAlign
Expand Down
1 change: 1 addition & 0 deletions packages/block-library/src/term-description/block.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"__experimental": "fse",
"name": "core/term-description",
"title": "Term Description",
"category": "theme",
Expand Down

0 comments on commit 1f0c696

Please sign in to comment.