chore: revert some fixes (#4355)

This commit is contained in:
ybzky
2024-12-24 11:32:48 +08:00
committed by GitHub
parent e9de991def
commit 862e70bc56
@@ -303,7 +303,8 @@ export class SheetClipboardService extends Disposable implements ISheetClipboard
// calculate selection matrix, span cells would only - maybe warn uses that cells are too may in the future
const { startColumn, startRow, endColumn, endRow } = range;
const matrix = worksheet.getMatrixWithMergedCells(startRow, startColumn, endRow, endColumn);
// TODO @ybzky This needs to be optimized. Both cell and cellRaw should be obtained, one for html and one for plain
const matrix = worksheet.getMatrixWithMergedCells(startRow, startColumn, endRow, endColumn, true);
const matrixFragment = new ObjectMatrix<ICellDataWithSpanInfo>();
let rowIndex = startRow;