@fileverse-dev/fortune-core 1.3.10-copyPaste-2 → 1.3.10-copyPaste-3
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/es/modules/selection.js
CHANGED
|
@@ -1509,7 +1509,7 @@ export function copy(ctx) {
|
|
|
1509
1509
|
export function deleteSelectedCellText(ctx) {
|
|
1510
1510
|
var _a, _b, _c, _d;
|
|
1511
1511
|
var allowEdit = isAllowEdit(ctx);
|
|
1512
|
-
if (allowEdit === false) {
|
|
1512
|
+
if (allowEdit === false || ctx.isFlvReadOnly) {
|
|
1513
1513
|
return "allowEdit";
|
|
1514
1514
|
}
|
|
1515
1515
|
var selection = ctx.luckysheet_select_save;
|
package/lib/modules/selection.js
CHANGED
|
@@ -1544,7 +1544,7 @@ function copy(ctx) {
|
|
|
1544
1544
|
function deleteSelectedCellText(ctx) {
|
|
1545
1545
|
var _a, _b, _c, _d;
|
|
1546
1546
|
var allowEdit = (0, _utils.isAllowEdit)(ctx);
|
|
1547
|
-
if (allowEdit === false) {
|
|
1547
|
+
if (allowEdit === false || ctx.isFlvReadOnly) {
|
|
1548
1548
|
return "allowEdit";
|
|
1549
1549
|
}
|
|
1550
1550
|
var selection = ctx.luckysheet_select_save;
|