Skip to content

Commit

Permalink
Hotfix to always load tiptap with the trailing paragraph
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliusknorr committed Aug 1, 2022
1 parent f01793c commit 4d27bc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EditorFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const createEditor = ({ content, onCreate, onUpdate, extensions, enableRichEditi
}
extensions = extensions || []
return new Editor({
content,
content: content + '<p/>',
onCreate,
onUpdate,
extensions: [
Expand Down

0 comments on commit 4d27bc7

Please sign in to comment.