@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.
- package/bundles/index.esm.js +1 -1
- package/bundles/index.js +1 -1
- package/package.json +1 -1
package/bundles/index.esm.js
CHANGED
|
@@ -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-
|
|
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-
|
|
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