@textbus/xnote 0.0.1-alpha.11 → 0.0.1-alpha.12

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.
@@ -4042,7 +4042,7 @@ class RootComponent extends Component {
4042
4042
  });
4043
4043
  }
4044
4044
  setup() {
4045
- useBlockContent(this.state.content);
4045
+ useBlockContent((slot) => slot === this.state.content);
4046
4046
  onCompositionStart(ev => {
4047
4047
  this.onCompositionStart.next(ev);
4048
4048
  });
package/bundles/index.js CHANGED
@@ -4044,7 +4044,7 @@ class RootComponent extends core$1.Component {
4044
4044
  });
4045
4045
  }
4046
4046
  setup() {
4047
- useBlockContent(this.state.content);
4047
+ useBlockContent((slot) => slot === this.state.content);
4048
4048
  core$1.onCompositionStart(ev => {
4049
4049
  this.onCompositionStart.next(ev);
4050
4050
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@textbus/xnote",
3
- "version": "0.0.1-alpha.11",
3
+ "version": "0.0.1-alpha.12",
4
4
  "description": "Viewfly project.",
5
5
  "main": "./bundles/index.js",
6
6
  "module": "./bundles/index.esm.js",