@textbus/collaborate 4.0.0-alpha.50 → 4.0.0-alpha.51
Sign up to get free protection for your applications and to get access to all the features.
- package/bundles/index.esm.js +4 -1
- package/bundles/index.js +4 -1
- package/package.json +2 -2
package/bundles/index.esm.js
CHANGED
@@ -611,7 +611,10 @@ let Collaborate = class Collaborate {
|
|
611
611
|
}
|
612
612
|
break;
|
613
613
|
case 'delete':
|
614
|
-
|
614
|
+
if (action.count <= 0) {
|
615
|
+
break;
|
616
|
+
}
|
617
|
+
sharedArray.delete(index, action.count);
|
615
618
|
break;
|
616
619
|
case 'setIndex':
|
617
620
|
sharedArray.delete(action.index, 1);
|
package/bundles/index.js
CHANGED
@@ -613,7 +613,10 @@ exports.Collaborate = class Collaborate {
|
|
613
613
|
}
|
614
614
|
break;
|
615
615
|
case 'delete':
|
616
|
-
|
616
|
+
if (action.count <= 0) {
|
617
|
+
break;
|
618
|
+
}
|
619
|
+
sharedArray.delete(index, action.count);
|
617
620
|
break;
|
618
621
|
case 'setIndex':
|
619
622
|
sharedArray.delete(action.index, 1);
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@textbus/collaborate",
|
3
|
-
"version": "4.0.0-alpha.
|
3
|
+
"version": "4.0.0-alpha.51",
|
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": "0b54e3b23238b09096449e8fccf0127820f8e206"
|
54
54
|
}
|