@@ -16,6 +16,12 @@ import type {
1616 SetRangeValuesMutation ,
1717} from "@univerjs/sheets" ;
1818
19+ import "@univerjs/design/lib/index.css" ;
20+ import "@univerjs/ui/lib/index.css" ;
21+ import "@univerjs/docs-ui/lib/index.css" ;
22+ import "@univerjs/sheets-ui/lib/index.css" ;
23+ import "@univerjs/sheets-formula/lib/index.css" ;
24+
1925const univer_core = import ( "@univerjs/core" ) ;
2026const design = import ( "@univerjs/design" ) ;
2127const render_engine = import ( "@univerjs/engine-render" ) ;
@@ -27,12 +33,15 @@ const sheets_numfmt = import("@univerjs/sheets-numfmt");
2733const sheets_formula = import ( "@univerjs/sheets-formula" ) ;
2834const facade = import ( "@univerjs/facade" ) ;
2935const zod = import ( "zod" ) ;
36+ const docs_plugin = import ( "@univerjs/docs" ) ;
37+ const docs_ui_plugin = import ( "@univerjs/docs-ui" ) ;
3038
3139const DesignEnUS = import ( 'node_modules/@univerjs/design/lib/locale/en-US.json' ) ;
3240const SheetsEnUS = import ( 'node_modules/@univerjs/sheets/lib/locale/en-US.json' ) ;
3341const SheetsUIEnUS = import ( 'node_modules/@univerjs/sheets-ui/lib/locale/en-US.json' ) ;
3442const SheetsFormulaEnUS = import ( 'node_modules/@univerjs/sheets-formula/lib/locale/en-US.json' ) ;
3543const UIEnUS = import ( 'node_modules/@univerjs/ui/lib/locale/en-US.json' ) ;
44+ const DocsUIEnUS = import ( 'node_modules/@univerjs/docs-ui/lib/locale/en-US.json' ) ;
3645
3746const NUMBER_CELL_TYPE : typeof CellValueType . NUMBER = 2 ;
3847const UNIVER_SHEET_TYPE : typeof UniverInstanceType . UNIVER_SHEET = 2 ;
@@ -79,7 +88,8 @@ async function setupUniver(container: HTMLElement) {
7988 await SheetsEnUS ,
8089 await SheetsUIEnUS ,
8190 await SheetsFormulaEnUS ,
82- await UIEnUS
91+ await UIEnUS ,
92+ await DocsUIEnUS
8393 ) ,
8494 } ,
8595 } ) ;
@@ -88,6 +98,8 @@ async function setupUniver(container: HTMLElement) {
8898 univer . registerPlugin ( ( await ui_plugin ) . UniverUIPlugin , { container } ) ;
8999 univer . registerPlugin ( ( await sheets_plugin ) . UniverSheetsPlugin ) ;
90100 univer . registerPlugin ( ( await sheets_ui_plugin ) . UniverSheetsUIPlugin ) ;
101+ univer . registerPlugin ( ( await docs_plugin ) . UniverDocsPlugin ) ;
102+ univer . registerPlugin ( ( await docs_ui_plugin ) . UniverDocsUIPlugin ) ;
91103
92104 return univer ;
93105}
0 commit comments