diff --git a/packages/block-library/src/table/edit.js b/packages/block-library/src/table/edit.js index 1d61bab0787e44..b82cce050d7fa8 100644 --- a/packages/block-library/src/table/edit.js +++ b/packages/block-library/src/table/edit.js @@ -57,6 +57,7 @@ import { isEmptyTableSection, } from './state'; import { Caption } from '../utils/caption'; +import { useToolsPanelDropdownMenuProps } from '../utils/hooks'; const ALIGNMENT_CONTROLS = [ { @@ -108,6 +109,7 @@ function TableEdit( { const tableRef = useRef(); const [ hasTableCreated, setHasTableCreated ] = useState( false ); + const dropdownMenuProps = useToolsPanelDropdownMenuProps(); /** * Updates the initial column count used for table creation. @@ -483,6 +485,7 @@ function TableEdit( { foot: [], } ); } } + dropdownMenuProps={ dropdownMenuProps } > hasFixedLayout !== true }