Skip to content

Commit 9e2dc3c

Browse files
Fix paragraph not appearing
1 parent cbcdd25 commit 9e2dc3c

File tree

1 file changed

+1
-1
lines changed
  • packages/block-library/src/post-content

1 file changed

+1
-1
lines changed

packages/block-library/src/post-content/edit.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function EditableContent( { context = {} } ) {
6767
const props = useInnerBlocksProps(
6868
useBlockProps( { className: 'entry-content' } ),
6969
{
70-
value: blocks,
70+
value: hasInnerBlocks ? blocks : undefined,
7171
onInput,
7272
onChange,
7373
template: ! hasInnerBlocks ? initialInnerBlocks : undefined,

0 commit comments

Comments
 (0)