@textbus/platform-browser 4.0.0-alpha.56 → 4.0.0-alpha.58

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.
@@ -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 < startLeft) {
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 < startLeft) {
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.56",
3
+ "version": "4.0.0-alpha.58",
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.56",
30
- "@textbus/core": "^4.0.0-alpha.56",
31
- "@viewfly/core": "^1.0.0-alpha.6"
29
+ "@textbus/collaborate": "^4.0.0-alpha.58",
30
+ "@textbus/core": "^4.0.0-alpha.58",
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": "1926a5b6ac25ece853fefe454488a5935b19bf62"
51
+ "gitHead": "47cc398628efc5726ac88ffbb69ab2125f6b7b19"
52
52
  }