@soomo/text-annotator 3.1.0-staging.5 → 3.1.0-staging.6

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,7 @@ 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.isCollapsed) && nt(y.anchorNode)) {
2257
+ if (y != null && y.anchorNode && nt(y.anchorNode)) {
2258
2258
  c = void 0;
2259
2259
  return;
2260
2260
  }