prosemirror-view
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -0,1 +1,7 @@ | ||
## 1.3.2 (2018-06-15) | ||
### Bug fixes | ||
[`handleKeyDown`](https://prosemirror.net/docs/ref/#view.EditorProps.handleKeyDown) will now get notified of key events happening directly after a composition ends. | ||
## 1.3.1 (2018-06-08) | ||
@@ -2,0 +8,0 @@ |
{ | ||
"name": "prosemirror-view", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "ProseMirror's view component", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -74,3 +74,6 @@ import {Selection, NodeSelection, TextSelection} from "prosemirror-state" | ||
if (event.keyCode == 16) view.shiftKey = true | ||
if (view.inDOMChange) return | ||
if (view.inDOMChange) { | ||
if (view.inDOMChange.composing) return | ||
view.inDOMChange.finish() | ||
} | ||
view.lastKeyCode = event.keyCode | ||
@@ -77,0 +80,0 @@ view.lastKeyCodeTime = Date.now() |
Sorry, the diff of this file is too big to display
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
729127
8279