prosemirror-keymap
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -0,1 +1,7 @@ | ||
## 1.1.1 (2019-11-15) | ||
### Bug fixes | ||
Fix an issue where keyboards layouts that use shift to produce characters that are created without shift on a US keyboard would fail to fire bindings for those keys that include the Shift- modifier. | ||
## 1.1.0 (2019-11-08) | ||
@@ -2,0 +8,0 @@ |
@@ -94,2 +94,5 @@ 'use strict'; | ||
if (fromCode && fromCode(view.state, view.dispatch, view)) { return true } | ||
} else if (isChar && event.shiftKey) { | ||
var withShift = map[modifiers(name, event, true)]; | ||
if (withShift && withShift(view.state, view.dispatch, view)) { return true } | ||
} | ||
@@ -96,0 +99,0 @@ return false |
{ | ||
"name": "prosemirror-keymap", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Keymap plugin for ProseMirror", | ||
@@ -5,0 +5,0 @@ "main": "dist/keymap.js", |
@@ -90,2 +90,5 @@ import {base, keyName} from "w3c-keyname" | ||
if (fromCode && fromCode(view.state, view.dispatch, view)) return true | ||
} else if (isChar && event.shiftKey) { | ||
let withShift = map[modifiers(name, event, true)] | ||
if (withShift && withShift(view.state, view.dispatch, view)) return true | ||
} | ||
@@ -92,0 +95,0 @@ return false |
Sorry, the diff of this file is not supported yet
24420
194