@textbus/xnote 0.0.1-alpha.35 → 0.0.1-alpha.36

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.
@@ -4736,7 +4736,7 @@ function RootView(props) {
4736
4736
  const output = useOutput();
4737
4737
  return () => {
4738
4738
  const { rootRef } = props;
4739
- return (jsx("div", { class: "xnote-root", dir: "auto", ref: [rootRef, ref], "data-comopnent": props.component.name, children: adapter.slotRender(content, children => {
4739
+ return (jsx("div", { class: "xnote-root", dir: "auto", ref: [rootRef, ref], "data-component": props.component.name, children: adapter.slotRender(content, children => {
4740
4740
  return (createVNode('div', {
4741
4741
  class: 'xnote-content',
4742
4742
  'data-placeholder': content.isEmpty ? '请输入内容' : ''
package/bundles/index.js CHANGED
@@ -4738,7 +4738,7 @@ function RootView(props) {
4738
4738
  const output = useOutput();
4739
4739
  return () => {
4740
4740
  const { rootRef } = props;
4741
- return (jsxRuntime.jsx("div", { class: "xnote-root", dir: "auto", ref: [rootRef, ref], "data-comopnent": props.component.name, children: adapter.slotRender(content, children => {
4741
+ return (jsxRuntime.jsx("div", { class: "xnote-root", dir: "auto", ref: [rootRef, ref], "data-component": props.component.name, children: adapter.slotRender(content, children => {
4742
4742
  return (core$1.createVNode('div', {
4743
4743
  class: 'xnote-content',
4744
4744
  'data-placeholder': content.isEmpty ? '请输入内容' : ''
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@textbus/xnote",
3
- "version": "0.0.1-alpha.35",
3
+ "version": "0.0.1-alpha.36",
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",