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
refactor(examples): fix plugin registration call due to TypeScript type changes (#1669)
白熱6201dbc530f3
diff --git a/examples/src/docs-uniscript/main.ts b/examples/src/docs-uniscript/main.tsindex 4ee2c7b715..ea17ade5e3 100644--- a/examples/src/docs-uniscript/main.ts+++ b/examples/src/docs-uniscript/main.ts@@ -43,9 +43,7 @@ univer.registerPlugin(UniverUIPlugin, {header: true,});-univer.registerPlugin(UniverDocsPlugin, {- standalone: true,-});+univer.registerPlugin(UniverDocsPlugin);univer.registerPlugin(UniverDocsUIPlugin);univer.registerPlugin(UniverSheetsPlugin);diff --git a/examples/src/slides/main.ts b/examples/src/slides/main.tsindex 1ee00a7dda..8df416c77b 100644--- a/examples/src/slides/main.ts+++ b/examples/src/slides/main.ts@@ -34,9 +34,7 @@ univer.registerPlugin(UniverRenderEnginePlugin);univer.registerPlugin(UniverUIPlugin, {container: 'univer-container',header: true,- toolbar: true,footer: true,- innerLeft: true,});univer.registerPlugin(UniverSlidesPlugin);univer.registerPlugin(UniverSlidesUIPlugin);