Skip to content

Commit

Permalink
fix ensure post meta panel stays visible in all rendering modes (#69083)
Browse files Browse the repository at this point in the history
This ensures the changes in #66508 that were undone in #68902 are actually applied

Co-authored-by: fabiankaegy <[email protected]>
Co-authored-by: stokesman <[email protected]>
Co-authored-by: carolinan <[email protected]>
Co-authored-by: aaronjorbin <[email protected]>
  • Loading branch information
5 people authored Feb 7, 2025
1 parent 51ed4f3 commit 06ce70d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/edit-post/src/components/layout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -426,8 +426,7 @@ function Layout( {
select( editPostStore )
);
const { canUser, getPostType } = select( coreStore );
const { getDeviceType, getEditorMode, getRenderingMode } =
select( editorStore );
const { getDeviceType, getEditorMode } = select( editorStore );
const { __unstableGetEditorMode } = unlock(
select( blockEditorStore )
);
Expand All @@ -453,7 +452,6 @@ function Layout( {
isDistractionFree: get( 'core', 'distractionFree' ),
showMetaBoxes:
! DESIGN_POST_TYPES.includes( currentPostType ) &&
getRenderingMode() === 'post-only' &&
! isZoomOut,
isWelcomeGuideVisible: isFeatureActive( 'welcomeGuide' ),
templateId:
Expand Down

0 comments on commit 06ce70d

Please sign in to comment.