Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion packages/edit-widgets/src/components/layout/interface.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ import {
useViewportMatch,
} from '@wordpress/compose';
import { close } from '@wordpress/icons';
import { __experimentalLibrary as Library } from '@wordpress/block-editor';
import {
__experimentalLibrary as Library,
BlockBreadcrumb,
} from '@wordpress/block-editor';
import { useEffect } from '@wordpress/element';
import { useDispatch, useSelect } from '@wordpress/data';
import {
Expand All @@ -32,6 +35,8 @@ const interfaceLabels = {
body: __( 'Widgets and blocks' ),
/* translators: accessibility text for the widgets screen settings landmark region. */
sidebar: __( 'Widgets settings' ),
/* translators: accessibility text for the widgets screen footer landmark region. */
footer: __( 'Widgets footer' ),
};

function Interface( { blockEditorSettings } ) {
Expand Down Expand Up @@ -107,6 +112,13 @@ function Interface( { blockEditorSettings } ) {
blockEditorSettings={ blockEditorSettings }
/>
}
footer={
! isMobileViewport && (
<div className="edit-widgets-layout__footer">
<BlockBreadcrumb rootLabelText={ __( 'Widgets' ) } />
</div>
)
}
/>
);
}
Expand Down