diff --git a/packages/edit-post/src/components/layout/index.js b/packages/edit-post/src/components/layout/index.js index 52457c93507d2e..43e5bf16a9cd2a 100644 --- a/packages/edit-post/src/components/layout/index.js +++ b/packages/edit-post/src/components/layout/index.js @@ -85,9 +85,11 @@ function Layout( { styles } ) { showIconLabels, hasReducedUI, showBlockBreadcrumbs, + isTemplateMode, } = useSelect( ( select ) => { const editorSettings = select( editorStore ).getEditorSettings(); return { + isTemplateMode: select( editPostStore ).isEditingTemplate(), hasFixedToolbar: select( editPostStore ).isFeatureActive( 'fixedToolbar' ), @@ -227,10 +229,12 @@ function Layout( { styles } ) { { isRichEditingEnabled && mode === 'visual' && ( ) } -
- - -
+ { ! isTemplateMode && ( +
+ + +
+ ) } { isMobileViewport && sidebarIsOpened && ( ) }