sykpcomposer 0.0.92 → 0.0.94

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/index.es.js CHANGED
@@ -45055,7 +45055,7 @@ const rv = 8, ov = 72, ra = {
45055
45055
  i("11");
45056
45056
  };
45057
45057
  return Rn.useEffect(() => {
45058
- r && r === "Enter" && v();
45058
+ console.log("enter pressed"), v();
45059
45059
  }, [r]), Rn.useEffect(() => {
45060
45060
  const b = () => {
45061
45061
  p.update(() => {
@@ -45075,7 +45075,7 @@ const rv = 8, ov = 72, ra = {
45075
45075
  }, [p]), Rn.useEffect(() => {
45076
45076
  switch (n.tagName) {
45077
45077
  case "P":
45078
- i("11"), o("paragraph");
45078
+ i("11");
45079
45079
  break;
45080
45080
  case "H1":
45081
45081
  o("h1"), i(
@@ -45117,7 +45117,7 @@ const rv = 8, ov = 72, ra = {
45117
45117
  break;
45118
45118
  }
45119
45119
  }, [n]), Rn.useEffect(() => {
45120
- switch (e || o("paragraph"), e && e.trim(" ")) {
45120
+ switch (console.log("sdlsdklksdfn", e), e || (i("11"), o("paragraph")), e && e.trim(" ")) {
45121
45121
  case "P":
45122
45122
  i("11"), o("paragraph");
45123
45123
  break;
@@ -45668,6 +45668,7 @@ function Uk({ renderOnlineUsers: g, styleConfig: s }) {
45668
45668
  wi,
45669
45669
  ($, q) => {
45670
45670
  var W;
45671
+ k("");
45671
45672
  const H = (W = Ee()) == null ? void 0 : W.getNodes()[0].__parent;
45672
45673
  return p.getEditorState()._nodeMap.forEach((V, A) => {
45673
45674
  A === H && R(V.__tag);
@@ -45692,7 +45693,7 @@ function Uk({ renderOnlineUsers: g, styleConfig: s }) {
45692
45693
  ),
45693
45694
  p.registerCommand(
45694
45695
  yl,
45695
- ($) => (k($.code), !1),
45696
+ ($) => (console.log("3223"), k("Enter"), !1),
45696
45697
  vc
45697
45698
  )
45698
45699
  ), [p, P]), /* @__PURE__ */ ee.jsxs("div", { className: "toolbar", ref: t, children: [