From e9cd6b6f6c8e8873d30a472782d2cbcdc13e6dae Mon Sep 17 00:00:00 2001 From: Alecyrus Date: Tue, 7 May 2019 08:50:21 +0800 Subject: [PATCH] fix #289 A workaround before the better solution comes out. --- packages/tiptap/src/Editor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/tiptap/src/Editor.js b/packages/tiptap/src/Editor.js index 5db9c5e43..d6f7afbaf 100644 --- a/packages/tiptap/src/Editor.js +++ b/packages/tiptap/src/Editor.js @@ -433,6 +433,7 @@ export default class Editor extends Emitter { plugins: this.state.plugins.concat([plugin]), }) this.view.updateState(newState) + this.view.updatePluginViews() } destroy() {