Skip to content

Commit 45e3f7d

Browse files
authored
Add support for 'align' to the Breadcrumbs block (#73794)
* Add support for 'align' to the Breadcrumbs block * Restrict Breadcrumbs block align options to 'wide' and 'full'
1 parent be1f5a8 commit 45e3f7d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/reference-guides/core-blocks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Display a breadcrumb trail for hierarchical post types or based on taxonomy term
9292
- **Name:** core/breadcrumbs
9393
- **Experimental:** true
9494
- **Category:** theme
95-
- **Supports:** color (background, gradients, link, text), interactivity (clientNavigation), spacing (margin, padding), typography (fontSize, lineHeight), ~~html~~
95+
- **Supports:** align (full, wide), color (background, gradients, link, text), interactivity (clientNavigation), spacing (margin, padding), typography (fontSize, lineHeight), ~~html~~
9696
- **Attributes:** prefersTaxonomy, separator, showCurrentItem, showHomeItem, showOnHomePage
9797

9898
## Button

packages/block-library/src/breadcrumbs/block.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"usesContext": [ "postId", "postType", "templateSlug" ],
3333
"supports": {
3434
"html": false,
35+
"align": [ "wide", "full" ],
3536
"spacing": {
3637
"margin": true,
3738
"padding": true

0 commit comments

Comments
 (0)