y-prosemirror
Advanced tools
Comparing version 1.0.14 to 1.0.15
{ | ||
"name": "y-prosemirror", | ||
"version": "1.0.14", | ||
"version": "1.0.15", | ||
"description": "Prosemirror bindings for Yjs", | ||
@@ -5,0 +5,0 @@ "main": "./dist/y-prosemirror.cjs", |
@@ -117,3 +117,6 @@ | ||
const current = awareness.getLocalState() || {} | ||
if (view.hasFocus() && ystate.binding !== null) { | ||
if (ystate.binding == null) { | ||
return | ||
} | ||
if (view.hasFocus()) { | ||
const selection = getSelection(view.state) | ||
@@ -120,0 +123,0 @@ /** |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
3994623
38377