Hi, if I want the same CodeMirror instance with a different ytext bound to it, do I have to destroy the bindings somehow? I saw that in y-codemirror (for CM v5), you had to call a .destroy() method. But that method no longer exists (publicly) in y-codemirror.next.
When I switch ytexts, is it enough to just…
myNewExtensions = [ yCollab(updatedYText, provider.awareness) ]
myEditorView.dispatch({
effects: StateEffect.reconfigure.of(myNewExtensions)
});
…and not destroy the old yCollab instance?