diff --git a/packages/edit-site/src/components/header/document-actions/index.js b/packages/edit-site/src/components/header/document-actions/index.js index 744a886ff34e12..f1995043200fc6 100644 --- a/packages/edit-site/src/components/header/document-actions/index.js +++ b/packages/edit-site/src/components/header/document-actions/index.js @@ -6,12 +6,14 @@ import classnames from 'classnames'; /** * WordPress dependencies */ +import { Button, Dropdown } from '@wordpress/components'; import { __ } from '@wordpress/i18n'; import { __experimentalGetBlockLabel as getBlockLabel, getBlockType, } from '@wordpress/blocks'; import { useSelect } from '@wordpress/data'; +import { DOWN } from '@wordpress/keycodes'; function useSecondaryText() { const selectedBlock = useSelect( ( select ) => { @@ -41,6 +43,7 @@ export default function DocumentActions( { documentTitle } ) { // Title is active when there is no secondary item, or when the secondary // item is inactive. const isTitleActive = ! label?.length || ! isActive; + return (