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 authored and backportbot-nextcloud[bot] committed Nov 3, 2022
1 parent db44510 commit de84dcd
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 de84dcd

Please sign in to comment.