@textbus/platform-browser 4.0.0-alpha.33 → 4.0.0-alpha.34

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.
@@ -1248,7 +1248,6 @@ class ExperimentalCaret {
1248
1248
  const compositionNode = this.adapter.compositionNode;
1249
1249
  if (compositionNode) {
1250
1250
  nativeRange = nativeRange.cloneRange();
1251
- nativeRange.insertNode(compositionNode);
1252
1251
  nativeRange.selectNodeContents(compositionNode);
1253
1252
  nativeRange.collapse();
1254
1253
  }
package/bundles/index.js CHANGED
@@ -1250,7 +1250,6 @@ class ExperimentalCaret {
1250
1250
  const compositionNode = this.adapter.compositionNode;
1251
1251
  if (compositionNode) {
1252
1252
  nativeRange = nativeRange.cloneRange();
1253
- nativeRange.insertNode(compositionNode);
1254
1253
  nativeRange.selectNodeContents(compositionNode);
1255
1254
  nativeRange.collapse();
1256
1255
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@textbus/platform-browser",
3
- "version": "4.0.0-alpha.33",
3
+ "version": "4.0.0-alpha.34",
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.3",
29
- "@textbus/collaborate": "^4.0.0-alpha.33",
30
- "@textbus/core": "^4.0.0-alpha.33",
29
+ "@textbus/collaborate": "^4.0.0-alpha.34",
30
+ "@textbus/core": "^4.0.0-alpha.34",
31
31
  "@viewfly/core": "^0.6.3",
32
32
  "reflect-metadata": "^0.1.13"
33
33
  },
@@ -49,5 +49,5 @@
49
49
  "bugs": {
50
50
  "url": "https://github.com/textbus/textbus.git/issues"
51
51
  },
52
- "gitHead": "5eb73f9a388d331946a8579aa6eaa23cc44bffe0"
52
+ "gitHead": "b6f9bfbce3135865fc0c8a3e6b622a7040019634"
53
53
  }