@textbus/collaborate 4.3.12 → 4.3.13
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 +1 -1
- package/bundles/index.js +1 -1
- package/package.json +2 -2
package/bundles/index.esm.js
CHANGED
|
@@ -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
|
|
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
|
|
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.
|
|
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": "
|
|
53
|
+
"gitHead": "cff6a20d9308efb3faba585af4c05846cf4124ab"
|
|
54
54
|
}
|