@blocknote/core 0.23.4 → 0.23.5

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/dist/blocknote.js CHANGED
@@ -11955,9 +11955,11 @@ const ma = L.create({
11955
11955
  );
11956
11956
  const r = (s) => {
11957
11957
  const l = document.createElement("span");
11958
- l.classList.add("collaboration-cursor__caret"), l.setAttribute("style", `color: ${s.color}`), (e == null ? void 0 : e.showCursorLabels) === "always" && l.setAttribute("data-active", "");
11958
+ l.classList.add("collaboration-cursor__base");
11959
11959
  const d = document.createElement("span");
11960
- return d.classList.add("collaboration-cursor__label"), d.setAttribute("style", `background-color: ${s.color}`), d.insertBefore(document.createTextNode(s.name), null), l.insertBefore(d, null), l;
11960
+ d.setAttribute("contentedEditable", "false"), d.classList.add("collaboration-cursor__caret"), d.setAttribute("style", `background-color: ${s.color}`);
11961
+ const c = document.createElement("span");
11962
+ return c.classList.add("collaboration-cursor__label"), c.setAttribute("style", `background-color: ${s.color}`), c.insertBefore(document.createTextNode(s.name), null), d.insertBefore(c, null), l.insertBefore(document.createTextNode("⁠"), null), l.insertBefore(d, null), l.insertBefore(document.createTextNode("⁠"), null), l;
11961
11963
  }, a = (s) => {
11962
11964
  var u;
11963
11965
  const l = [...o.getStates().entries()].find(