@textbus/adapter-react 4.0.0-alpha.16 → 4.0.0-alpha.18

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.
@@ -100,7 +100,7 @@ class Adapter extends DomAdapter {
100
100
  };
101
101
  const refFn = (nativeNode) => {
102
102
  if (!nativeNode) {
103
- this.slotRootNativeElementCaches.remove(nativeNode);
103
+ this.slotRootNativeElementCaches.remove(slot);
104
104
  }
105
105
  else {
106
106
  this.slotRootNativeElementCaches.set(slot, nativeNode);
package/bundles/index.js CHANGED
@@ -102,7 +102,7 @@ class Adapter extends platformBrowser.DomAdapter {
102
102
  };
103
103
  const refFn = (nativeNode) => {
104
104
  if (!nativeNode) {
105
- this.slotRootNativeElementCaches.remove(nativeNode);
105
+ this.slotRootNativeElementCaches.remove(slot);
106
106
  }
107
107
  else {
108
108
  this.slotRootNativeElementCaches.set(slot, nativeNode);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@textbus/adapter-react",
3
- "version": "4.0.0-alpha.16",
3
+ "version": "4.0.0-alpha.18",
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.0",
29
- "@textbus/core": "^4.0.0-alpha.16",
30
- "@textbus/platform-browser": "^4.0.0-alpha.16",
29
+ "@textbus/core": "^4.0.0-alpha.18",
30
+ "@textbus/platform-browser": "^4.0.0-alpha.18",
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": "374400df65cd485113048cd9644ae88f4ff59429"
52
+ "gitHead": "e7887ee051c488286d669dd8ba396a05b7989107"
53
53
  }