From d16174c060bfb817dcb5fc4154512f4596c33b3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Fri, 16 Nov 2018 14:17:56 +0100 Subject: [PATCH] do not render node views twice --- packages/tiptap/src/Editor.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/packages/tiptap/src/Editor.js b/packages/tiptap/src/Editor.js index 39741aaa..ba4fcdbc 100644 --- a/packages/tiptap/src/Editor.js +++ b/packages/tiptap/src/Editor.js @@ -153,13 +153,6 @@ export default class Editor { const view = new EditorView(this.element, { state: this.state, dispatchTransaction: this.dispatchTransaction.bind(this), - nodeViews: this.initNodeViews({ - extensions: [ - ...builtInNodes, - ...this.options.extensions, - ], - editable: this.options.editable, - }), }) view.dom.style.whiteSpace = 'pre-wrap'