@textbus/platform-browser 4.0.0-alpha.34 → 4.0.0-alpha.35
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 -3
- package/bundles/index.js +3 -3
- package/package.json +4 -4
package/bundles/index.esm.js
CHANGED
@@ -1412,7 +1412,7 @@ let MagicInput = class MagicInput extends Input {
|
|
1412
1412
|
const slot = this.adapter.composition.slot;
|
1413
1413
|
this.adapter.composition = null;
|
1414
1414
|
this.adapter.compositionNode = null;
|
1415
|
-
slot.
|
1415
|
+
slot.__changeMarker__.forceMarkDirtied();
|
1416
1416
|
}
|
1417
1417
|
}), fromEvent(textarea, 'focus').subscribe(() => {
|
1418
1418
|
this.nativeFocus = true;
|
@@ -1564,7 +1564,7 @@ let MagicInput = class MagicInput extends Input {
|
|
1564
1564
|
data: ev.data
|
1565
1565
|
});
|
1566
1566
|
invokeListener(startSlot.parent, 'onCompositionUpdate', event);
|
1567
|
-
startSlot.
|
1567
|
+
startSlot.__changeMarker__.forceMarkDirtied();
|
1568
1568
|
}));
|
1569
1569
|
let isCompositionEnd = false;
|
1570
1570
|
this.subscription.add(merge(fromEvent(textarea, 'beforeinput').pipe(filter(ev => {
|
@@ -1595,7 +1595,7 @@ let MagicInput = class MagicInput extends Input {
|
|
1595
1595
|
this.commander.write(text);
|
1596
1596
|
}
|
1597
1597
|
else {
|
1598
|
-
(_a = this.selection.startSlot) === null || _a === void 0 ? void 0 : _a.
|
1598
|
+
(_a = this.selection.startSlot) === null || _a === void 0 ? void 0 : _a.__changeMarker__.forceMarkDirtied();
|
1599
1599
|
}
|
1600
1600
|
if (isCompositionEnd) {
|
1601
1601
|
const startSlot = this.selection.startSlot;
|
package/bundles/index.js
CHANGED
@@ -1414,7 +1414,7 @@ exports.MagicInput = class MagicInput extends Input {
|
|
1414
1414
|
const slot = this.adapter.composition.slot;
|
1415
1415
|
this.adapter.composition = null;
|
1416
1416
|
this.adapter.compositionNode = null;
|
1417
|
-
slot.
|
1417
|
+
slot.__changeMarker__.forceMarkDirtied();
|
1418
1418
|
}
|
1419
1419
|
}), stream.fromEvent(textarea, 'focus').subscribe(() => {
|
1420
1420
|
this.nativeFocus = true;
|
@@ -1566,7 +1566,7 @@ exports.MagicInput = class MagicInput extends Input {
|
|
1566
1566
|
data: ev.data
|
1567
1567
|
});
|
1568
1568
|
core$1.invokeListener(startSlot.parent, 'onCompositionUpdate', event);
|
1569
|
-
startSlot.
|
1569
|
+
startSlot.__changeMarker__.forceMarkDirtied();
|
1570
1570
|
}));
|
1571
1571
|
let isCompositionEnd = false;
|
1572
1572
|
this.subscription.add(stream.merge(stream.fromEvent(textarea, 'beforeinput').pipe(stream.filter(ev => {
|
@@ -1597,7 +1597,7 @@ exports.MagicInput = class MagicInput extends Input {
|
|
1597
1597
|
this.commander.write(text);
|
1598
1598
|
}
|
1599
1599
|
else {
|
1600
|
-
(_a = this.selection.startSlot) === null || _a === void 0 ? void 0 : _a.
|
1600
|
+
(_a = this.selection.startSlot) === null || _a === void 0 ? void 0 : _a.__changeMarker__.forceMarkDirtied();
|
1601
1601
|
}
|
1602
1602
|
if (isCompositionEnd) {
|
1603
1603
|
const startSlot = this.selection.startSlot;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@textbus/platform-browser",
|
3
|
-
"version": "4.0.0-alpha.
|
3
|
+
"version": "4.0.0-alpha.35",
|
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.
|
30
|
-
"@textbus/core": "^4.0.0-alpha.
|
29
|
+
"@textbus/collaborate": "^4.0.0-alpha.35",
|
30
|
+
"@textbus/core": "^4.0.0-alpha.35",
|
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": "
|
52
|
+
"gitHead": "a50ac82617ef249feadbe926bae178912ed9a310"
|
53
53
|
}
|