@textbus/xnote 0.0.1-alpha.40 → 0.0.1-alpha.41

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.
@@ -968,7 +968,7 @@ function ParagraphView(props) {
968
968
  const output = useOutput();
969
969
  return () => {
970
970
  const slot = props.component.state.slot;
971
- return (jsx(SlotRender, { tag: "div", slot: slot, class: "xnote-paragraph", elRef: props.rootRef, "data-component": ParagraphComponent.componentName, renderEnv: readonly() || output() }));
971
+ return (jsx("div", { class: "xnote-paragraph", ref: props.rootRef, "data-component": ParagraphComponent.componentName, children: jsx(SlotRender, { tag: "div", slot: slot, renderEnv: readonly() || output() }) }));
972
972
  };
973
973
  }
974
974
  const paragraphComponentLoader = {
package/bundles/index.js CHANGED
@@ -970,7 +970,7 @@ function ParagraphView(props) {
970
970
  const output = useOutput();
971
971
  return () => {
972
972
  const slot = props.component.state.slot;
973
- return (jsxRuntime.jsx(SlotRender, { tag: "div", slot: slot, class: "xnote-paragraph", elRef: props.rootRef, "data-component": ParagraphComponent.componentName, renderEnv: readonly() || output() }));
973
+ return (jsxRuntime.jsx("div", { class: "xnote-paragraph", ref: props.rootRef, "data-component": ParagraphComponent.componentName, children: jsxRuntime.jsx(SlotRender, { tag: "div", slot: slot, renderEnv: readonly() || output() }) }));
974
974
  };
975
975
  }
976
976
  const paragraphComponentLoader = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@textbus/xnote",
3
- "version": "0.0.1-alpha.40",
3
+ "version": "0.0.1-alpha.41",
4
4
  "description": "A high-performance rich text editor that supports multiplayer online collaboration.",
5
5
  "main": "./bundles/index.js",
6
6
  "module": "./bundles/index.esm.js",