Skip to content

Commit

Permalink
Fix paragraph not appearing
Browse files Browse the repository at this point in the history
  • Loading branch information
tellthemachines committed May 18, 2023
1 parent cbcdd25 commit 9e2dc3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/post-content/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function EditableContent( { context = {} } ) {
const props = useInnerBlocksProps(
useBlockProps( { className: 'entry-content' } ),
{
value: blocks,
value: hasInnerBlocks ? blocks : undefined,
onInput,
onChange,
template: ! hasInnerBlocks ? initialInnerBlocks : undefined,
Expand Down

0 comments on commit 9e2dc3c

Please sign in to comment.