Skip to content

Update wax-prosemirror-core/src/Wax.js

Jure requested to merge jure-master-patch-78363 into master

Just a quick fix.

Previously the code was mutating defaultPlugins, which meant that if the component rendered twice, the plugins would be duplicated on second render (and all renders after that) and raise an error in ProseMirror: RangeError: Adding different instances of a keyed plugin (plugin$)

Merge request reports