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 <jus@bitgrid.net>
  • Loading branch information
juliushaertl committed Nov 3, 2022
1 parent 86c3b1b commit 9bca664
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 @@ -174,7 +174,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 9bca664

Please sign in to comment.