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

prosemirror-commands

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prosemirror-commands - npm Package Compare versions

Comparing version 1.1.10 to 1.1.11

8

CHANGELOG.md

@@ -0,1 +1,9 @@

## 1.1.11 (2021-10-06)
### Bug fixes
Add a binding for Shift-Backspace to the base keymap, so that shift or caps-lock won't interfere with backspace behavior.
Fix an issue in `autoJoin` that made it ignore a third argument if it was passed one.
## 1.1.10 (2021-07-05)

@@ -2,0 +10,0 @@

3

dist/index.es.js

@@ -621,3 +621,3 @@ import { liftTarget, canJoin, joinPoint, canSplit, ReplaceAroundStep, findWrapping } from 'prosemirror-transform';

}
return function (state, dispatch) { return command(state, dispatch && wrapDispatchForJoin(dispatch, isJoinable)); }
return function (state, dispatch, view) { return command(state, dispatch && wrapDispatchForJoin(dispatch, isJoinable), view); }
}

@@ -658,2 +658,3 @@

"Mod-Backspace": backspace,
"Shift-Backspace": backspace,
"Delete": del,

@@ -660,0 +661,0 @@ "Mod-Delete": del,

@@ -625,3 +625,3 @@ 'use strict';

}
return function (state, dispatch) { return command(state, dispatch && wrapDispatchForJoin(dispatch, isJoinable)); }
return function (state, dispatch, view) { return command(state, dispatch && wrapDispatchForJoin(dispatch, isJoinable), view); }
}

@@ -662,2 +662,3 @@

"Mod-Backspace": backspace,
"Shift-Backspace": backspace,
"Delete": del,

@@ -664,0 +665,0 @@ "Mod-Delete": del,

{
"name": "prosemirror-commands",
"version": "1.1.10",
"version": "1.1.11",
"description": "Editing commands for ProseMirror",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -579,3 +579,3 @@ import {joinPoint, canJoin, findWrapping, liftTarget, canSplit, ReplaceAroundStep} from "prosemirror-transform"

}
return (state, dispatch) => command(state, dispatch && wrapDispatchForJoin(dispatch, isJoinable))
return (state, dispatch, view) => command(state, dispatch && wrapDispatchForJoin(dispatch, isJoinable), view)
}

@@ -613,2 +613,3 @@

"Mod-Backspace": backspace,
"Shift-Backspace": backspace,
"Delete": del,

@@ -615,0 +616,0 @@ "Mod-Delete": del,

Sorry, the diff of this file is not supported yet

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