prosemirror-view
Advanced tools
Comparing version 1.3.3 to 1.3.4
@@ -0,1 +1,7 @@ | ||
## 1.3.4 (2018-06-20) | ||
### Bug fixes | ||
Enable use of browser clipboard API on Mobile Safari version 11 and up, which makes cut work on that platform and should generally improve clipboard handling. | ||
## 1.3.3 (2018-06-15) | ||
@@ -2,0 +8,0 @@ |
{ | ||
"name": "prosemirror-view", | ||
"version": "1.3.3", | ||
"version": "1.3.4", | ||
"description": "ProseMirror's view component", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -20,2 +20,3 @@ const result = {} | ||
result.safari = /Apple Computer/.test(navigator.vendor) | ||
result.safari_version = result.safari && +(/\bVersion\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] | ||
} |
@@ -390,3 +390,4 @@ import {Selection, NodeSelection, TextSelection} from "prosemirror-state" | ||
// range test | ||
const brokenClipboardAPI = (browser.ie && browser.ie_version < 15) || browser.ios | ||
const brokenClipboardAPI = (browser.ie && browser.ie_version < 15) || | ||
(browser.ios && browser.safari_version < 11) | ||
@@ -393,0 +394,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
731869
8301