@soomo/text-annotator 3.1.0-staging.6 → 3.1.0-staging.7
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.
|
@@ -2254,7 +2254,9 @@ const ae = 300, Oe = ["up", "down", "left", "right"], Te = Ne ? "⌘+a" : "ctrl+
|
|
|
2254
2254
|
}, E = Xt((f) => {
|
|
2255
2255
|
if (!p) return;
|
|
2256
2256
|
const y = document.getSelection();
|
|
2257
|
-
if (y != null && y.anchorNode
|
|
2257
|
+
if (!(y != null && y.anchorNode))
|
|
2258
|
+
return;
|
|
2259
|
+
if (nt(y.anchorNode)) {
|
|
2258
2260
|
c = void 0;
|
|
2259
2261
|
return;
|
|
2260
2262
|
}
|