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

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.17",
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.17",
30
- "@textbus/platform-browser": "^4.0.0-alpha.17",
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": "0ea4a4500c7743315c6ae9881569a4381aeedb15"
52
+ "gitHead": "e7887ee051c488286d669dd8ba396a05b7989107"
53
53
  }