prosemirror-view
Advanced tools
Comparing version 1.3.5 to 1.3.6
@@ -0,1 +1,7 @@ | ||
## 1.3.6 (2018-06-21) | ||
### Bug fixes | ||
Make sure Safari version detection for clipboard support also works in iOS webview. | ||
## 1.3.5 (2018-06-20) | ||
@@ -2,0 +8,0 @@ |
{ | ||
"name": "prosemirror-view", | ||
"version": "1.3.5", | ||
"version": "1.3.6", | ||
"description": "ProseMirror's view component", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -20,3 +20,3 @@ const result = {} | ||
result.safari = /Apple Computer/.test(navigator.vendor) | ||
result.safari_version = result.safari && +(/\bVersion\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] | ||
result.webkit_version = result.webkit && +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] | ||
} |
@@ -390,3 +390,3 @@ import {Selection, NodeSelection, TextSelection} from "prosemirror-state" | ||
const brokenClipboardAPI = (browser.ie && browser.ie_version < 15) || | ||
(browser.ios && browser.safari_version < 11) | ||
(browser.ios && browser.webkit_version < 604) | ||
@@ -393,0 +393,0 @@ handlers.copy = editHandlers.cut = (view, e) => { |
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
728760