@textbus/platform-browser 4.0.0-alpha.56 → 4.0.0-alpha.57
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 -2
- package/bundles/index.js +2 -2
- package/package.json +5 -5
package/bundles/index.esm.js
CHANGED
@@ -549,10 +549,10 @@ let SelectionBridge = class SelectionBridge {
|
|
549
549
|
}
|
550
550
|
minLeft = rect2.left;
|
551
551
|
minTop = rect2.top;
|
552
|
-
oldPosition = position
|
552
|
+
// oldPosition = position
|
553
553
|
}
|
554
554
|
if (isToPrevLine) {
|
555
|
-
if (rect2.left
|
555
|
+
if (rect2.left <= startLeft) {
|
556
556
|
return position;
|
557
557
|
}
|
558
558
|
if (oldPosition) {
|
package/bundles/index.js
CHANGED
@@ -551,10 +551,10 @@ exports.SelectionBridge = class SelectionBridge {
|
|
551
551
|
}
|
552
552
|
minLeft = rect2.left;
|
553
553
|
minTop = rect2.top;
|
554
|
-
oldPosition = position
|
554
|
+
// oldPosition = position
|
555
555
|
}
|
556
556
|
if (isToPrevLine) {
|
557
|
-
if (rect2.left
|
557
|
+
if (rect2.left <= startLeft) {
|
558
558
|
return position;
|
559
559
|
}
|
560
560
|
if (oldPosition) {
|
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.57",
|
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.57",
|
30
|
+
"@textbus/core": "^4.0.0-alpha.57",
|
31
|
+
"@viewfly/core": "^1.0.0-alpha.9"
|
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": "0a8d42b5be9e2fd24dcbdf31de32e820fadfbe41"
|
52
52
|
}
|