Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2022-07-08 11:58:40 +0300
committerMax <max@nextcloud.com>2022-08-30 12:55:12 +0300
commit2fa358f8e7bfdc74158fa1e3a8b352db81806f25 (patch)
tree572c4fde9a5c53d09d2ca71233d6ceb72caf52f0 /src/EditorFactory.js
parentcdfcd37e39067fb60b515d306251b0ec24776f70 (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.js2
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: {