prosemirror-collab
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -0,1 +1,7 @@ | ||
## 1.1.1 (2018-10-09) | ||
### Bug fixes | ||
Fix issue where `mapSelectionBackward` didn't work because of a typo. | ||
## 1.1.0 (2018-08-21) | ||
@@ -2,0 +8,0 @@ |
@@ -147,3 +147,3 @@ 'use strict'; | ||
var newCollabState = new CollabState(version, unconfirmed); | ||
if (options && options.mapSelectionBackard && state.selection instanceof prosemirrorState.TextSelection) { | ||
if (options && options.mapSelectionBackward && state.selection instanceof prosemirrorState.TextSelection) { | ||
tr.setSelection(prosemirrorState.TextSelection.between(tr.doc.resolve(tr.mapping.map(state.selection.head, -1)), | ||
@@ -150,0 +150,0 @@ tr.doc.resolve(tr.mapping.map(state.selection.anchor, -1)), -1)); |
{ | ||
"name": "prosemirror-collab", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Collaborative editing for ProseMirror", | ||
@@ -5,0 +5,0 @@ "main": "dist/collab.js", |
# prosemirror-collab | ||
[ [**WEBSITE**](http://prosemirror.net) | [**ISSUES**](https://github.com/prosemirror/prosemirror/issues) | [**FORUM**](https://discuss.prosemirror.net) | [**GITTER**](https://gitter.im/ProseMirror/prosemirror) | [**CHANGELOG**](https://github.com/ProseMirror/prosemirror/blob/master/CHANGELOG.md) ] | ||
[ [**WEBSITE**](http://prosemirror.net) | [**ISSUES**](https://github.com/prosemirror/prosemirror/issues) | [**FORUM**](https://discuss.prosemirror.net) | [**GITTER**](https://gitter.im/ProseMirror/prosemirror) | [**CHANGELOG**](https://github.com/ProseMirror/prosemirror-collab/blob/master/CHANGELOG.md) ] | ||
@@ -5,0 +5,0 @@ This is a [core module](http://prosemirror.net/docs/ref/#collab) of [ProseMirror](http://prosemirror.net). |
@@ -145,3 +145,3 @@ import {Plugin, PluginKey, TextSelection} from "prosemirror-state" | ||
let newCollabState = new CollabState(version, unconfirmed) | ||
if (options && options.mapSelectionBackard && state.selection instanceof TextSelection) { | ||
if (options && options.mapSelectionBackward && state.selection instanceof TextSelection) { | ||
tr.setSelection(TextSelection.between(tr.doc.resolve(tr.mapping.map(state.selection.head, -1)), | ||
@@ -148,0 +148,0 @@ tr.doc.resolve(tr.mapping.map(state.selection.anchor, -1)), -1)) |
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
35634