diff --git a/docs/reference-guides/core-blocks.md b/docs/reference-guides/core-blocks.md index 163dea2256ad5d..eb45c028bbbd3c 100644 --- a/docs/reference-guides/core-blocks.md +++ b/docs/reference-guides/core-blocks.md @@ -50,6 +50,7 @@ Create and save content to reuse across your site. Update the block, and the cha Displays breadcrumbs of a page's hierarchy, or a post's categories ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/block-library/src/breadcrumbs)) - **Name:** core/breadcrumbs +- **Experimental:** true - **Category:** design - **Supports:** align (full, wide), color (link, text, ~~background~~), typography (fontSize, lineHeight), ~~html~~ - **Attributes:** contentJustification, separator, showCurrentPageTitle, showLeadingSeparator, showSiteTitle, siteTitleOverride diff --git a/packages/block-library/src/breadcrumbs/index.js b/packages/block-library/src/breadcrumbs/index.js index 0e3438672f5b8f..d8de83008cfc84 100644 --- a/packages/block-library/src/breadcrumbs/index.js +++ b/packages/block-library/src/breadcrumbs/index.js @@ -6,6 +6,7 @@ import { listView as icon } from '@wordpress/icons'; /** * Internal dependencies */ +import initBlock from '../utils/init-block'; import metadata from './block.json'; import edit from './edit'; @@ -16,3 +17,5 @@ export const settings = { icon, edit, }; + +export const init = () => initBlock( { name, metadata, settings } );