diff --git a/packages/editor/src/components/header/index.js b/packages/editor/src/components/header/index.js index 5ddff85408f76..eb0dd68647f56 100644 --- a/packages/editor/src/components/header/index.js +++ b/packages/editor/src/components/header/index.js @@ -139,6 +139,7 @@ function Header( { // when the publish sidebar has been closed. ) } + - { isEditorIframed && isWideViewport && } + { isEditorIframed && isWideViewport && ( + + ) } { ( isWideViewport || ! showIconLabels ) && ( diff --git a/packages/editor/src/components/zoom-out-toggle/index.js b/packages/editor/src/components/zoom-out-toggle/index.js index dd4669d04bec1..775913e3bf05c 100644 --- a/packages/editor/src/components/zoom-out-toggle/index.js +++ b/packages/editor/src/components/zoom-out-toggle/index.js @@ -14,7 +14,7 @@ import { store as preferencesStore } from '@wordpress/preferences'; */ import { unlock } from '../../lock-unlock'; -const ZoomOutToggle = () => { +const ZoomOutToggle = ( { disabled } ) => { const { isZoomOut, showIconLabels } = useSelect( ( select ) => ( { isZoomOut: unlock( select( blockEditorStore ) ).isZoomOut(), showIconLabels: select( preferencesStore ).get( @@ -38,6 +38,8 @@ const ZoomOutToggle = () => { return (