Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

prosemirror-collab

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prosemirror-collab - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

6

CHANGELOG.md

@@ -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 @@

2

dist/collab.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc