Skip to content
Permalink
Browse files

Fix recreating of pluginViews

See https://discuss.prosemirror.net/t/state-reconfigure-do-not-apply-new-plugins/1931/5

FIX: Fix a bug where updating to a reconfigured state would not recreate
the view's plugin views.
  • Loading branch information...
marijnh committed May 8, 2019
1 parent 1f27986 commit 3add1896f4cd6b18fded908287afc132826185f1
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/index.js
@@ -155,7 +155,7 @@ export class EditorView {
this.domObserver.start()
}

this.updatePluginViews(prev)
this.updatePluginViews(reconfigured ? null : prev)

if (scroll == "reset") {
this.dom.scrollTop = 0

0 comments on commit 3add189

Please sign in to comment.
You can’t perform that action at this time.