import { useSelect } from '@wordpress/data'; import { InterfaceSkeleton, FullscreenMode, ComplementaryArea } from '@wordpress/interface'; import { BlockBreadcrumb, BlockCanvas, store as blockEditorStore } from '@wordpress/block-editor'; import Sidebar from './Sidebar'; import { scope } from './constants'; export default function BlockEditor() { const { styles } = useSelect(( select ) => { const { getSettings, getBlockSelectionStart } = select( blockEditorStore ); return { styles: getSettings().styles, }; }, []); return ( <> } sidebar={ } footer={ } /> ); }