prosemirror-commands
Advanced tools
Comparing version 1.1.10 to 1.1.11
@@ -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 @@ |
@@ -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
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
205227
1883