@textbus/platform-browser 4.0.0-alpha.35 → 4.0.0-alpha.36

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.
@@ -430,7 +430,7 @@ class DomAdapter extends ViewAdapter {
430
430
  break;
431
431
  }
432
432
  else if (composition.index === 0 && childLocation.startIndex === 0) {
433
- nodes.unshift(createCompositionNode(composition));
433
+ nodes.splice(i, 0, createCompositionNode(composition));
434
434
  break;
435
435
  }
436
436
  }
@@ -442,7 +442,7 @@ class DomAdapter extends ViewAdapter {
442
442
  break;
443
443
  }
444
444
  else if (componentIndex === 0 && composition.index === 0) {
445
- nodes.unshift(createCompositionNode(composition));
445
+ nodes.splice(i, 0, createCompositionNode(composition));
446
446
  break;
447
447
  }
448
448
  }
@@ -454,7 +454,7 @@ class DomAdapter extends ViewAdapter {
454
454
  break;
455
455
  }
456
456
  else if (location.startIndex === 0 && composition.index === 0) {
457
- nodes.unshift(createCompositionNode(composition));
457
+ nodes.splice(i, 0, createCompositionNode(composition));
458
458
  break;
459
459
  }
460
460
  }
package/bundles/index.js CHANGED
@@ -432,7 +432,7 @@ class DomAdapter extends core$1.ViewAdapter {
432
432
  break;
433
433
  }
434
434
  else if (composition.index === 0 && childLocation.startIndex === 0) {
435
- nodes.unshift(createCompositionNode(composition));
435
+ nodes.splice(i, 0, createCompositionNode(composition));
436
436
  break;
437
437
  }
438
438
  }
@@ -444,7 +444,7 @@ class DomAdapter extends core$1.ViewAdapter {
444
444
  break;
445
445
  }
446
446
  else if (componentIndex === 0 && composition.index === 0) {
447
- nodes.unshift(createCompositionNode(composition));
447
+ nodes.splice(i, 0, createCompositionNode(composition));
448
448
  break;
449
449
  }
450
450
  }
@@ -456,7 +456,7 @@ class DomAdapter extends core$1.ViewAdapter {
456
456
  break;
457
457
  }
458
458
  else if (location.startIndex === 0 && composition.index === 0) {
459
- nodes.unshift(createCompositionNode(composition));
459
+ nodes.splice(i, 0, createCompositionNode(composition));
460
460
  break;
461
461
  }
462
462
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@textbus/platform-browser",
3
- "version": "4.0.0-alpha.35",
3
+ "version": "4.0.0-alpha.36",
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.35",
30
- "@textbus/core": "^4.0.0-alpha.35",
29
+ "@textbus/collaborate": "^4.0.0-alpha.36",
30
+ "@textbus/core": "^4.0.0-alpha.36",
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": "a50ac82617ef249feadbe926bae178912ed9a310"
52
+ "gitHead": "dbcf24938a558780bc752cdcd3633d0e21a7a0d9"
53
53
  }