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
juliusknorr committed Jul 8, 2022
1 parent 7817a07 commit 53ad09e
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 53ad09e

Please sign in to comment.