@lexical/selection 0.35.0 → 0.35.1-nightly.20250908.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LexicalSelection.dev.js
CHANGED
|
@@ -98,7 +98,7 @@ function createDOMRange(editor, anchorNode, _anchorOffset, focusNode, _focusOffs
|
|
|
98
98
|
try {
|
|
99
99
|
range.setStart(anchorDOM, anchorOffset);
|
|
100
100
|
range.setEnd(focusDOM, focusOffset);
|
|
101
|
-
} catch (
|
|
101
|
+
} catch (_e) {
|
|
102
102
|
return null;
|
|
103
103
|
}
|
|
104
104
|
if (range.collapsed && (anchorOffset !== focusOffset || anchorKey !== focusKey)) {
|
package/LexicalSelection.dev.mjs
CHANGED
|
@@ -97,7 +97,7 @@ function createDOMRange(editor, anchorNode, _anchorOffset, focusNode, _focusOffs
|
|
|
97
97
|
try {
|
|
98
98
|
range.setStart(anchorDOM, anchorOffset);
|
|
99
99
|
range.setEnd(focusDOM, focusOffset);
|
|
100
|
-
} catch (
|
|
100
|
+
} catch (_e) {
|
|
101
101
|
return null;
|
|
102
102
|
}
|
|
103
103
|
if (range.collapsed && (anchorOffset !== focusOffset || anchorKey !== focusKey)) {
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"selection"
|
|
10
10
|
],
|
|
11
11
|
"license": "MIT",
|
|
12
|
-
"version": "0.35.0",
|
|
12
|
+
"version": "0.35.1-nightly.20250908.0",
|
|
13
13
|
"main": "LexicalSelection.js",
|
|
14
14
|
"types": "index.d.ts",
|
|
15
15
|
"repository": {
|
|
@@ -37,6 +37,6 @@
|
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"lexical": "0.35.0"
|
|
40
|
+
"lexical": "0.35.1-nightly.20250908.0"
|
|
41
41
|
}
|
|
42
42
|
}
|