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 23, 2023
1 parent 11c292b commit 13fc935
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 13fc935

Please sign in to comment.