Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
fix: copy plain should get cell value (#4344)
ybzky7e36387d7759
diff --git a/packages/sheets-ui/src/services/clipboard/clipboard.service.ts b/packages/sheets-ui/src/services/clipboard/clipboard.service.tsindex 293084294f..c005ac3642 100644--- a/packages/sheets-ui/src/services/clipboard/clipboard.service.ts+++ b/packages/sheets-ui/src/services/clipboard/clipboard.service.ts@@ -303,7 +303,7 @@ export class SheetClipboardService extends Disposable implements ISheetClipboard// calculate selection matrix, span cells would only - maybe warn uses that cells are too may in the futureconst { startColumn, startRow, endColumn, endRow } = range;- const matrix = worksheet.getMatrixWithMergedCells(startRow, startColumn, endRow, endColumn, true);+ const matrix = worksheet.getMatrixWithMergedCells(startRow, startColumn, endRow, endColumn);const matrixFragment = new ObjectMatrix<ICellDataWithSpanInfo>();let rowIndex = startRow;