diff options
author | Julius Härtl <jus@bitgrid.net> | 2021-01-12 20:45:38 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2021-01-13 21:34:01 +0300 |
commit | 52810aff5381419a97568701675c88cbaa417a1b (patch) | |
tree | fe2f1ff7ea965337b8df6ddd8224c319f6a166f4 /src/components/EditorWrapper.vue | |
parent | cc654982b296a3869191800f3c7c5106d8275b08 (diff) |
Refactor session list to use the popover
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'src/components/EditorWrapper.vue')
-rw-r--r-- | src/components/EditorWrapper.vue | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/components/EditorWrapper.vue b/src/components/EditorWrapper.vue index 4609b0705..42ba0e965 100644 --- a/src/components/EditorWrapper.vue +++ b/src/components/EditorWrapper.vue @@ -280,13 +280,9 @@ export default { forceRecreate: this.forceRecreate, serialize: (document) => { if (this.isRichEditor) { - const markdown = (createMarkdownSerializer(this.tiptap.nodes, this.tiptap.marks)).serialize(document) - console.debug('serialized document', { markdown }) - return markdown + return (createMarkdownSerializer(this.tiptap.nodes, this.tiptap.marks)).serialize(document) } - const file = serializePlainText(this.tiptap) - console.debug('serialized document', { file }) - return file + return serializePlainText(this.tiptap) }, }) |