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.

chore: get FormulaAutoFillController on ready (#6643)

wpxp123456ef8122567824
diff --git a/packages/sheets-formula/src/plugin.ts b/packages/sheets-formula/src/plugin.ts
index f66df83b02..eccf7b2cee 100644
--- a/packages/sheets-formula/src/plugin.ts
+++ b/packages/sheets-formula/src/plugin.ts
@@ -131,6 +131,7 @@ export class UniverSheetsFormulaPlugin extends Plugin {
[ImageFormulaCellInterceptorController],
[UpdateFormulaController],
[UpdateDefinedNameController],
+ [FormulaAutoFillController],
]);
// There is no rendering in the nodejs environment, so initialize it here
@@ -145,7 +146,6 @@ export class UniverSheetsFormulaPlugin extends Plugin {
touchDependencies(this._injector, [
[DefinedNameController],
[SuperTableController],
- [FormulaAutoFillController],
]);
// Wait for rendering to complete before initializing formula calculation