diff --git a/packages/block-library/src/post-content/edit.js b/packages/block-library/src/post-content/edit.js index 9e61cafac19e1f..582165303c0d05 100644 --- a/packages/block-library/src/post-content/edit.js +++ b/packages/block-library/src/post-content/edit.js @@ -25,6 +25,7 @@ import { useMemo } from '@wordpress/element'; import { useCanEditEntity } from '../utils/hooks'; function ReadOnlyContent( { + parentLayout, layoutClassNames, userCanEdit, postType, @@ -43,6 +44,7 @@ function ReadOnlyContent( { const blockPreviewProps = useBlockPreview( { blocks, props: blockProps, + layout: parentLayout, } ); if ( userCanEdit ) { @@ -120,6 +122,7 @@ function Content( props ) { ) : ( ) : (