prosemirror-keymap
Advanced tools
Comparing version 1.2.0-beta.1 to 1.2.0
@@ -0,1 +1,7 @@ | ||
## 1.2.0 (2022-05-30) | ||
### New features | ||
Include TypeScript type declarations. | ||
## 1.1.5 (2021-10-29) | ||
@@ -2,0 +8,0 @@ |
{ | ||
"name": "prosemirror-keymap", | ||
"version": "1.2.0-beta.1", | ||
"version": "1.2.0", | ||
"description": "Keymap plugin for ProseMirror", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -70,3 +70,3 @@ import {base, keyName} from "w3c-keyname" | ||
/// the array get to dispatch first). | ||
export function keymap(bindings: {[key: string]: Command}) { | ||
export function keymap(bindings: {[key: string]: Command}): Plugin { | ||
return new Plugin({props: {handleKeyDown: keydownHandler(bindings)}}) | ||
@@ -73,0 +73,0 @@ } |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
43761
1
0