Skip to content

Commit 4d27bc7

Browse files
committed
Hotfix to always load tiptap with the trailing paragraph
Signed-off-by: Julius Härtl <[email protected]>
1 parent f01793c commit 4d27bc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/EditorFactory.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ const createEditor = ({ content, onCreate, onUpdate, extensions, enableRichEditi
122122
}
123123
extensions = extensions || []
124124
return new Editor({
125-
content,
125+
content: content + '<p/>',
126126
onCreate,
127127
onUpdate,
128128
extensions: [

0 commit comments

Comments
 (0)