@textbus/collaborate 4.3.12 → 4.3.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -779,7 +779,7 @@ let Collaborate = class Collaborate {
779
779
  const data = ref.map(item => {
780
780
  return this.createSharedModelByLocalModel(item);
781
781
  });
782
- if (index < sharedArray.length) {
782
+ if (index <= sharedArray.length) {
783
783
  sharedArray.insert(index, data);
784
784
  }
785
785
  else {
package/bundles/index.js CHANGED
@@ -781,7 +781,7 @@ exports.Collaborate = class Collaborate {
781
781
  const data = ref.map(item => {
782
782
  return this.createSharedModelByLocalModel(item);
783
783
  });
784
- if (index < sharedArray.length) {
784
+ if (index <= sharedArray.length) {
785
785
  sharedArray.insert(index, data);
786
786
  }
787
787
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@textbus/collaborate",
3
- "version": "4.3.12",
3
+ "version": "4.3.13",
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",
@@ -50,5 +50,5 @@
50
50
  "bugs": {
51
51
  "url": "https://github.com/textbus/textbus.git/issues"
52
52
  },
53
- "gitHead": "09c0d0509769a7b478a61cf726757812e6974c99"
53
+ "gitHead": "cff6a20d9308efb3faba585af4c05846cf4124ab"
54
54
  }