Skip to content

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.

fix(numfmt): use next in writeCellInterceptor (#4490)

Dushusir293cf65bb149
diff --git a/packages/sheets-numfmt-ui/src/controllers/numfmt.editor.controller.ts b/packages/sheets-numfmt-ui/src/controllers/numfmt.editor.controller.ts
index 0dd45f1292..83e5df8ce2 100644
--- a/packages/sheets-numfmt-ui/src/controllers/numfmt.editor.controller.ts
+++ b/packages/sheets-numfmt-ui/src/controllers/numfmt.editor.controller.ts
@@ -114,7 +114,7 @@ export class NumfmtEditorController extends Disposable {
case 'grouped':
case 'number': {
const cell = context.worksheet.getCellRaw(row, col);
- return cell;
+ return next && next(cell);
}
case 'percent':
case 'date':