diff --git a/packages/slides-ui/src/slides-ui-plugin.ts b/packages/slides-ui/src/slides-ui-plugin.ts index 91b90527804..6d1ad6ccb10 100644 --- a/packages/slides-ui/src/slides-ui-plugin.ts +++ b/packages/slides-ui/src/slides-ui-plugin.ts @@ -90,7 +90,7 @@ export class UniverSlidesUIPlugin extends Plugin { }); this._injector.get(CanvasView); - this._injector.get(SlideRenderController); + this._injector.get(SlideRenderService); } override onRendered(): void { @@ -99,7 +99,6 @@ export class UniverSlidesUIPlugin extends Plugin { // need TextSelectionRenderService which init by EditorContainer [SlideEditorBridgeRenderController], [SlideEditingRenderController], - ] as Dependency[]).forEach((m) => { // find all renderMap and register module to each item in renderMap this.disposeWithMe(this._renderManagerService.registerRenderModule(UniverInstanceType.UNIVER_SLIDE, m));