diff options
author | Julius Härtl <jus@bitgrid.net> | 2022-07-08 11:58:40 +0300 |
---|---|---|
committer | Max <max@nextcloud.com> | 2022-08-30 12:55:12 +0300 |
commit | 2fa358f8e7bfdc74158fa1e3a8b352db81806f25 (patch) | |
tree | 572c4fde9a5c53d09d2ca71233d6ceb72caf52f0 /src/EditorFactory.js | |
parent | cdfcd37e39067fb60b515d306251b0ec24776f70 (diff) |
Hotfix to always load tiptap with the trailing paragraph
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'src/EditorFactory.js')
-rw-r--r-- | src/EditorFactory.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/EditorFactory.js b/src/EditorFactory.js index 924bd0a74..46195e46a 100644 --- a/src/EditorFactory.js +++ b/src/EditorFactory.js @@ -132,7 +132,7 @@ const createEditor = ({ content, onCreate, onUpdate, extensions, enableRichEditi } extensions = extensions || [] return new Editor({ - content, + content: content + '<p/>', onCreate, onUpdate, editorProps: { |