A workaround before the better solution comes out.
This commit is contained in:
Alecyrus 2019-05-07 08:50:21 +08:00 committed by GitHub
parent d4a9c0ee09
commit e9cd6b6f6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -433,6 +433,7 @@ export default class Editor extends Emitter {
plugins: this.state.plugins.concat([plugin]), plugins: this.state.plugins.concat([plugin]),
}) })
this.view.updateState(newState) this.view.updateState(newState)
this.view.updatePluginViews()
} }
destroy() { destroy() {