Skip to content

Commit 88516fe

Browse files
committed
Enable zoom out mode for non-iframe editor
1 parent 69f71e1 commit 88516fe

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

packages/editor/src/components/editor-interface/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ export default function EditorInterface( {
131131
customSaveButton={ customSaveButton }
132132
forceDisableBlockTools={ forceDisableBlockTools }
133133
title={ title }
134-
isEditorIframed={ ! disableIframe }
135134
/>
136135
)
137136
}

packages/editor/src/components/header/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ function Header( {
5353
forceDisableBlockTools,
5454
setEntitiesSavedStatesCallback,
5555
title,
56-
isEditorIframed,
5756
} ) {
5857
const isWideViewport = useViewportMatch( 'large' );
5958
const isLargeViewport = useViewportMatch( 'medium' );
@@ -168,7 +167,7 @@ function Header( {
168167
forceIsAutosaveable={ forceIsDirty }
169168
/>
170169

171-
{ canBeZoomedOut && isEditorIframed && isWideViewport && (
170+
{ canBeZoomedOut && isWideViewport && (
172171
<ZoomOutToggle disabled={ forceDisableBlockTools } />
173172
) }
174173

0 commit comments

Comments
 (0)