diff --git a/packages/block-editor/src/hooks/height.js b/packages/block-editor/src/hooks/height.js index dee35d103e571..8b5c992d4a635 100644 --- a/packages/block-editor/src/hooks/height.js +++ b/packages/block-editor/src/hooks/height.js @@ -83,11 +83,12 @@ export function HeightEdit( props ) { } = props; const units = useCustomUnits( { - availableUnits: useSetting( 'spacing.units' ) || [ + availableUnits: useSetting( 'dimensions.units' ) || [ '%', 'px', 'em', 'rem', + 'vh', 'vw', ], } );