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(sheet): add numfmt plguin in example (#544)

Gpound.liua0bf2f410926
diff --git a/examples/univer-sheet-ts/src/main.tsx b/examples/univer-sheet-ts/src/main.tsx
index 09afd7557f..59543817e5 100644
--- a/examples/univer-sheet-ts/src/main.tsx
+++ b/examples/univer-sheet-ts/src/main.tsx
@@ -9,6 +9,7 @@ import { greenTheme } from '@univerjs/design';
import { IUniverRPCMainThreadPluginConfig, UniverRPCMainThreadPlugin } from '@univerjs/rpc';
import { FormulaPlugin } from '@univerjs/sheets-plugin-formula';
import { FormulaUIPlugin } from '@univerjs/sheets-plugin-formula-ui';
+import { NumfmtPlugin } from '@univerjs/sheets-plugin-numfmt';
import { SheetUIPlugin } from '@univerjs/ui-plugin-sheets';
import { locales } from './locales';
@@ -37,6 +38,8 @@ univer.registerPlugin(SheetPlugin);
univer.registerPlugin(SheetUIPlugin);
// sheet feature plugins
+
+univer.registerPlugin(NumfmtPlugin);
univer.registerPlugin(DebuggerPlugin);
univer.registerPlugin(BaseFormulaEnginePlugin);
univer.registerPlugin(FormulaPlugin, {