prosemirror-view
Advanced tools
Comparing version
@@ -0,1 +1,7 @@ | ||
## 1.16.5 (2020-12-11) | ||
### Bug fixes | ||
Fix platform detection on recent iPadOS versions, restoring several workarounds for bugs that were accidentally turned off there. | ||
## 1.16.4 (2020-12-02) | ||
@@ -2,0 +8,0 @@ |
{ | ||
"name": "prosemirror-view", | ||
"version": "1.16.4", | ||
"version": "1.16.5", | ||
"description": "ProseMirror's view component", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -17,3 +17,4 @@ const result = {} | ||
result.chrome_version = chrome && +chrome[1] | ||
result.ios = !ie && /AppleWebKit/.test(navigator.userAgent) && /Mobile\/\w+/.test(navigator.userAgent) | ||
// Is true for both iOS and iPadOS for convenience | ||
result.ios = !ie && /AppleWebKit/.test(navigator.userAgent) && (/Mobile\/\w+/.test(navigator.userAgent) || !!(navigator.maxTouchPoints && navigator.maxTouchPoints > 2)) | ||
result.android = /Android \d/.test(navigator.userAgent) | ||
@@ -20,0 +21,0 @@ result.webkit = "webkitFontSmoothing" in document.documentElement.style |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1487467
0.06%13948
0.02%