@prose-reader/core 1.149.0 → 1.151.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.
@@ -2122,7 +2122,7 @@
2122
2122
  // `touchend` as const,
2123
2123
  ];
2124
2124
  const isHtmlElement = (element) => {
2125
- return typeof element === `object` && !!element && `nodeType` in element && (element == null ? void 0 : element.nodeType) === Node.ELEMENT_NODE && `innerText` in element;
2125
+ return typeof element === `object` && !!element && `nodeType` in element && (element == null ? void 0 : element.nodeType) === Node.ELEMENT_NODE;
2126
2126
  };
2127
2127
  function createRangeOrCaretFromPoint(doc, startX, startY) {
2128
2128
  if (`caretPositionFromPoint` in doc) {