@textbus/platform-browser 3.1.11 → 3.1.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.
- package/bundles/index.esm.js +3 -0
- package/bundles/index.js +3 -0
- package/package.json +2 -2
package/bundles/index.esm.js
CHANGED
@@ -1801,6 +1801,9 @@ let MagicInput = class MagicInput extends Input {
|
|
1801
1801
|
this.subscription.add(fromEvent(textarea, 'compositionstart').pipe(filter(() => {
|
1802
1802
|
return !this.ignoreComposition;
|
1803
1803
|
})).subscribe(() => {
|
1804
|
+
if (!this.selection.isCollapsed) {
|
1805
|
+
this.commander.delete();
|
1806
|
+
}
|
1804
1807
|
this.composition = true;
|
1805
1808
|
this.caret.compositionState = this.compositionState = null;
|
1806
1809
|
startIndex = this.selection.startOffset;
|
package/bundles/index.js
CHANGED
@@ -1803,6 +1803,9 @@ exports.MagicInput = class MagicInput extends Input {
|
|
1803
1803
|
this.subscription.add(stream.fromEvent(textarea, 'compositionstart').pipe(stream.filter(() => {
|
1804
1804
|
return !this.ignoreComposition;
|
1805
1805
|
})).subscribe(() => {
|
1806
|
+
if (!this.selection.isCollapsed) {
|
1807
|
+
this.commander.delete();
|
1808
|
+
}
|
1806
1809
|
this.composition = true;
|
1807
1810
|
this.caret.compositionState = this.compositionState = null;
|
1808
1811
|
startIndex = this.selection.startOffset;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@textbus/platform-browser",
|
3
|
-
"version": "3.1.
|
3
|
+
"version": "3.1.12",
|
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",
|
@@ -48,5 +48,5 @@
|
|
48
48
|
"bugs": {
|
49
49
|
"url": "https://github.com/textbus/textbus.git/issues"
|
50
50
|
},
|
51
|
-
"gitHead": "
|
51
|
+
"gitHead": "f0145a1b781944bd43d40470f0e0dd5528f47c81"
|
52
52
|
}
|