@textbus/platform-browser 4.0.0-alpha.57 → 4.0.0-alpha.59
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 +2 -0
- package/bundles/index.js +2 -0
- package/package.json +5 -5
package/bundles/index.esm.js
CHANGED
@@ -467,6 +467,7 @@ let SelectionBridge = class SelectionBridge {
|
|
467
467
|
// hack end
|
468
468
|
}
|
469
469
|
destroy() {
|
470
|
+
this.subs.forEach(i => i.unsubscribe());
|
470
471
|
this.sub.unsubscribe();
|
471
472
|
}
|
472
473
|
getPositionByRange(abstractSelection) {
|
@@ -1012,6 +1013,7 @@ class ExperimentalCaret {
|
|
1012
1013
|
}
|
1013
1014
|
destroy() {
|
1014
1015
|
clearTimeout(this.timer);
|
1016
|
+
// this.caret.
|
1015
1017
|
this.subscription.unsubscribe();
|
1016
1018
|
}
|
1017
1019
|
updateCursorPosition(nativeRange) {
|
package/bundles/index.js
CHANGED
@@ -469,6 +469,7 @@ exports.SelectionBridge = class SelectionBridge {
|
|
469
469
|
// hack end
|
470
470
|
}
|
471
471
|
destroy() {
|
472
|
+
this.subs.forEach(i => i.unsubscribe());
|
472
473
|
this.sub.unsubscribe();
|
473
474
|
}
|
474
475
|
getPositionByRange(abstractSelection) {
|
@@ -1014,6 +1015,7 @@ class ExperimentalCaret {
|
|
1014
1015
|
}
|
1015
1016
|
destroy() {
|
1016
1017
|
clearTimeout(this.timer);
|
1018
|
+
// this.caret.
|
1017
1019
|
this.subscription.unsubscribe();
|
1018
1020
|
}
|
1019
1021
|
updateCursorPosition(nativeRange) {
|
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.59",
|
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,9 +26,9 @@
|
|
26
26
|
],
|
27
27
|
"dependencies": {
|
28
28
|
"@tanbo/stream": "^1.2.4",
|
29
|
-
"@textbus/collaborate": "^4.0.0-alpha.
|
30
|
-
"@textbus/core": "^4.0.0-alpha.
|
31
|
-
"@viewfly/core": "^1.0.0-alpha.
|
29
|
+
"@textbus/collaborate": "^4.0.0-alpha.59",
|
30
|
+
"@textbus/core": "^4.0.0-alpha.59",
|
31
|
+
"@viewfly/core": "^1.0.0-alpha.10"
|
32
32
|
},
|
33
33
|
"devDependencies": {
|
34
34
|
"@rollup/plugin-commonjs": "^23.0.2",
|
@@ -48,5 +48,5 @@
|
|
48
48
|
"bugs": {
|
49
49
|
"url": "https://github.com/textbus/textbus.git/issues"
|
50
50
|
},
|
51
|
-
"gitHead": "
|
51
|
+
"gitHead": "444feba7873584e9ad3611f374d197e6f2933823"
|
52
52
|
}
|