@textbus/adapter-react 4.0.0 → 4.0.1

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.
@@ -93,7 +93,6 @@ class ReactAdapter extends DomAdapter {
93
93
  useEffect(() => {
94
94
  this.onViewUpdated.next();
95
95
  }, [updateKey]);
96
- component.state.length = 0;
97
96
  const vNode = components[key]({
98
97
  component,
99
98
  rootRef: (rootNode) => {
package/bundles/index.js CHANGED
@@ -95,7 +95,6 @@ class ReactAdapter extends platformBrowser.DomAdapter {
95
95
  react.useEffect(() => {
96
96
  this.onViewUpdated.next();
97
97
  }, [updateKey]);
98
- component.state.length = 0;
99
98
  const vNode = components[key]({
100
99
  component,
101
100
  rootRef: (rootNode) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@textbus/adapter-react",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "Textbus is a rich text editor and framework that is highly customizable and extensible to achieve rich wysiwyg effects.",
5
5
  "main": "./bundles/index.js",
6
6
  "module": "./bundles/index.esm.js",
@@ -26,8 +26,8 @@
26
26
  ],
27
27
  "dependencies": {
28
28
  "@tanbo/stream": "^1.2.5",
29
- "@textbus/core": "^4.0.0",
30
- "@textbus/platform-browser": "^4.0.0",
29
+ "@textbus/core": "^4.0.1",
30
+ "@textbus/platform-browser": "^4.0.1",
31
31
  "react": "^17.0.0 || ^18.0.0"
32
32
  },
33
33
  "devDependencies": {
@@ -49,5 +49,5 @@
49
49
  "bugs": {
50
50
  "url": "https://github.com/textbus/textbus.git/issues"
51
51
  },
52
- "gitHead": "cf4fd289b73bc777124a32fe42bb58eba05a34f1"
52
+ "gitHead": "650431b993553439e58d48949bd9cadda23fb147"
53
53
  }