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
chore(demo): back to demo
Dushusir926da6bdec92
diff --git a/examples/univer-sheet-ts/local/index.html b/examples/univer-sheet-ts/local/index.htmlindex f95cc85769..ecd17d3258 100644--- a/examples/univer-sheet-ts/local/index.html+++ b/examples/univer-sheet-ts/local/index.html@@ -27,8 +27,7 @@<body><div id="app" style="z-index: 1; position: fixed; font-size: 20px; color: green;"></div>- <div id="universheet" style="height: 225px;width: 400px;"></div>- <!-- <div id="universheet" style="height: 100%;"></div> -->+ <div id="universheet" style="height: 100%;"></div><script src="./main.js"></script></body>diff --git a/examples/univer-sheet-ts/public/index.html b/examples/univer-sheet-ts/public/index.htmlindex f95cc85769..ecd17d3258 100644--- a/examples/univer-sheet-ts/public/index.html+++ b/examples/univer-sheet-ts/public/index.html@@ -27,8 +27,7 @@<body><div id="app" style="z-index: 1; position: fixed; font-size: 20px; color: green;"></div>- <div id="universheet" style="height: 225px;width: 400px;"></div>- <!-- <div id="universheet" style="height: 100%;"></div> -->+ <div id="universheet" style="height: 100%;"></div><script src="./main.js"></script></body>diff --git a/examples/univer-sheet-ts/src/main.tsx b/examples/univer-sheet-ts/src/main.tsxindex 13880dbe64..ee46b4fd9e 100644--- a/examples/univer-sheet-ts/src/main.tsx+++ b/examples/univer-sheet-ts/src/main.tsx@@ -50,7 +50,7 @@ const univer = new Univer();univer.install(new RenderEngine());// universheet instance-const universheet = UniverSheet.newInstance(DEFAULT_WORKBOOK_DATA_DEMO6);+const universheet = UniverSheet.newInstance(DEFAULT_WORKBOOK_DATA_DEMO);// sheet.installPlugin(new RenderEngine());univer.addUniverSheet(universheet);// base-sheet@@ -64,13 +64,13 @@ univer.install(container: 'universheet',layout: {sheetContainerConfig: {- infoBar: false,- formulaBar: false,- toolbar: false,- sheetBar: false,- countBar: false,- rightMenu: false,- contentSplit: false,+ // infoBar: false,+ // formulaBar: false,+ // toolbar: false,+ // sheetBar: false,+ // countBar: false,+ // rightMenu: false,+ // contentSplit: false,},},})diff --git a/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO5.ts b/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO5.tsindex aff8a07211..038f317767 100644--- a/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO5.ts+++ b/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO5.ts@@ -2645,8 +2645,8 @@ export const DEFAULT_WORKBOOK_DATA_DEMO5: IWorkbookConfig = {tabColor: '',hidden: 0,freezeColumn: -1,- rowCount: 1000,- columnCount: 100,+ rowCount: 40,+ columnCount: 9,freezeRow: -1,zoomRatio: 1,scrollTop: 0,diff --git a/packages/sheets-plugin-clipboard/src/Domain/Copy.ts b/packages/sheets-plugin-clipboard/src/Domain/Copy.tsindex c1a1d0bcd4..76241aa69b 100644--- a/packages/sheets-plugin-clipboard/src/Domain/Copy.ts+++ b/packages/sheets-plugin-clipboard/src/Domain/Copy.ts@@ -12,7 +12,7 @@ export abstract class Copy {this._context = context;const SheetPlugin = this._context.getPluginManager().getPluginByName<SheetPlugin>(PLUGIN_NAMES.SPREADSHEET);- this._initRegisterComponent(componentList);+ // this._initRegisterComponent(componentList);// SheetPlugin?.addRightMenu(copyList);const manager = this._context.getUniver().getGlobalContext().getObserverManager();