y-prosemirror
Advanced tools
Comparing version 0.2.6 to 0.3.0
{ | ||
"name": "y-prosemirror", | ||
"version": "0.2.6", | ||
"version": "0.3.0", | ||
"description": "Prosemirror bindings for Yjs", | ||
@@ -41,6 +41,6 @@ "main": "./dist/y-prosemirror.cjs", | ||
"dependencies": { | ||
"lib0": "^0.2.3" | ||
"lib0": "^0.2.12" | ||
}, | ||
"peerDependencies": { | ||
"yjs": ">=13.0.0-106", | ||
"yjs": "^13.0.0", | ||
"y-protocols": "^0.2.0", | ||
@@ -57,12 +57,12 @@ "prosemirror-model": "^1.7.1", | ||
"jsdom": "^15.1.1", | ||
"prosemirror-model": "^1.7.1", | ||
"prosemirror-model": "^1.9.1", | ||
"prosemirror-schema-basic": "^1.0.1", | ||
"prosemirror-state": "^1.2.3", | ||
"prosemirror-view": "^1.9.10", | ||
"rollup": "^1.29.0", | ||
"prosemirror-view": "^1.13.8", | ||
"rollup": "^1.29.1", | ||
"standard": "^12.0.1", | ||
"typescript": "^3.7.4", | ||
"typescript": "^3.7.5", | ||
"y-protocols": "^0.2.0", | ||
"yjs": "13.0.0-106" | ||
"yjs": "13.0.0" | ||
} | ||
} |
@@ -283,3 +283,3 @@ /** | ||
this.prosemirrorView.dispatch(tr) | ||
}) | ||
}, ySyncPluginKey) | ||
}) | ||
@@ -322,3 +322,3 @@ } | ||
this.beforeTransactionSelection = getRelativeSelection(this, this.prosemirrorView.state) | ||
}) | ||
}, ySyncPluginKey) | ||
}) | ||
@@ -403,3 +403,3 @@ } | ||
/** @type {Y.Item} */ (el._item).delete(transaction) | ||
}) | ||
}, ySyncPluginKey) | ||
mapping.delete(el) | ||
@@ -436,3 +436,3 @@ return null | ||
/** @type {Y.Item} */ (text._item).delete(transaction) | ||
}) | ||
}, ySyncPluginKey) | ||
return null | ||
@@ -763,3 +763,3 @@ } | ||
} | ||
}) | ||
}, ySyncPluginKey) | ||
} | ||
@@ -766,0 +766,0 @@ |
@@ -32,3 +32,3 @@ | ||
const undoManager = new UndoManager(ystate.type, { | ||
trackedOrigins: new Set([null, ySyncPluginKey].concat(trackedOrigins)), | ||
trackedOrigins: new Set([ySyncPluginKey].concat(trackedOrigins)), | ||
deleteFilter: item => !(item instanceof Item) || | ||
@@ -35,0 +35,0 @@ !(item.content instanceof ContentType) || |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3131512
29164
Updatedlib0@^0.2.12