From 089de84ad261bf2846a844b98a4643be2085df77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Mon, 3 Sep 2018 23:38:22 +0200 Subject: [PATCH] fix getHTML function --- packages/tiptap/src/components/editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tiptap/src/components/editor.js b/packages/tiptap/src/components/editor.js index 3f136eba2..4f54daebd 100644 --- a/packages/tiptap/src/components/editor.js +++ b/packages/tiptap/src/components/editor.js @@ -220,7 +220,7 @@ export default { }, getHTML() { - return this.contentNode.elm.innerHTML + return this.view.dom.innerHTML }, getJSON() {