@tryghost/koenig-lexical 0.0.57 → 0.0.58

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.
@@ -14896,11 +14896,11 @@ function ERe(n) {
14896
14896
  function TRe(n) {
14897
14897
  let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
14898
14898
  if (!e.createDocument) {
14899
- let l = typeof window < "u" && window.document;
14900
- if (!l)
14899
+ let s = typeof window < "u" && window.document;
14900
+ if (!s)
14901
14901
  throw new Error("renderVideoNodeToDOM() must be passed a `createDocument` function as an option when used in a non-browser environment");
14902
14902
  e.createDocument = function() {
14903
- return l;
14903
+ return s;
14904
14904
  };
14905
14905
  }
14906
14906
  const t = e.createDocument();
@@ -14914,9 +14914,7 @@ function TRe(n) {
14914
14914
  node: n,
14915
14915
  cardClasses: r
14916
14916
  }), o = t.createElement("div");
14917
- o.innerHTML = i.trim();
14918
- const s = o.firstElementChild;
14919
- return t.body.replaceChildren(s), s;
14917
+ return o.innerHTML = i.trim(), o.firstElementChild;
14920
14918
  }
14921
14919
  function $Re(n) {
14922
14920
  let {