@tiptap/core
Advanced tools
+3
-3
| { | ||
| "name": "@tiptap/core", | ||
| "description": "headless rich text editor", | ||
| "version": "3.17.1", | ||
| "version": "3.18.0", | ||
| "homepage": "https://tiptap.dev", | ||
@@ -55,6 +55,6 @@ "keywords": [ | ||
| "devDependencies": { | ||
| "@tiptap/pm": "^3.17.1" | ||
| "@tiptap/pm": "^3.18.0" | ||
| }, | ||
| "peerDependencies": { | ||
| "@tiptap/pm": "^3.17.1" | ||
| "@tiptap/pm": "^3.18.0" | ||
| }, | ||
@@ -61,0 +61,0 @@ "repository": { |
@@ -72,4 +72,10 @@ import { isTextSelection } from '../helpers/isTextSelection.js' | ||
| if ((view.hasFocus() && position === null) || position === false) { | ||
| return true | ||
| try { | ||
| if ((view.hasFocus() && position === null) || position === false) { | ||
| return true | ||
| } | ||
| } catch { | ||
| // if view.hasFocus fails (view not mounted yet) | ||
| // we will return false because there's nothing to focus | ||
| return false | ||
| } | ||
@@ -76,0 +82,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
2256310
0.03%30128
0.05%