diff --git a/packages/block-editor/src/store/private-selectors.js b/packages/block-editor/src/store/private-selectors.js index c322898031065..28e0c2bd47b0c 100644 --- a/packages/block-editor/src/store/private-selectors.js +++ b/packages/block-editor/src/store/private-selectors.js @@ -17,6 +17,7 @@ import { getClientIdsWithDescendants, isNavigationMode, getBlockRootClientId, + __unstableGetEditorMode, } from './selectors'; import { checkAllowListRecursive, @@ -579,7 +580,7 @@ export const getBlockStyles = createSelector( * @return {boolean} Is zoom out mode enabled. */ export function isZoomOutMode( state ) { - return state.editorMode === 'zoom-out'; + return __unstableGetEditorMode( state ) === 'zoom-out'; } /**