@@ -66,7 +66,7 @@ import { defaultPanelRegistry } from './inner-plugins/default-panel-registry';
6666import { shellModelFactory } from './modules/shell-model-factory' ;
6767import { builtinHotkey } from './inner-plugins/builtin-hotkey' ;
6868import { defaultContextMenu } from './inner-plugins/default-context-menu' ;
69- import { defaultCommand } from '@alilc/lowcode-plugin-command' ;
69+ import { CommandPlugin } from '@alilc/lowcode-plugin-command' ;
7070import { OutlinePlugin } from '@alilc/lowcode-plugin-outline-pane' ;
7171
7272export * from './modules/skeleton-types' ;
@@ -84,7 +84,7 @@ async function registryInnerPlugin(designer: IDesigner, editor: IEditor, plugins
8484 await plugins . register ( builtinHotkey ) ;
8585 await plugins . register ( registerDefaults , { } , { autoInit : true } ) ;
8686 await plugins . register ( defaultContextMenu ) ;
87- await plugins . register ( defaultCommand , { } ) ;
87+ await plugins . register ( CommandPlugin , { } ) ;
8888
8989 return ( ) => {
9090 plugins . delete ( OutlinePlugin . pluginName ) ;
@@ -94,7 +94,7 @@ async function registryInnerPlugin(designer: IDesigner, editor: IEditor, plugins
9494 plugins . delete ( builtinHotkey . pluginName ) ;
9595 plugins . delete ( registerDefaults . pluginName ) ;
9696 plugins . delete ( defaultContextMenu . pluginName ) ;
97- plugins . delete ( defaultCommand . pluginName ) ;
97+ plugins . delete ( CommandPlugin . pluginName ) ;
9898 } ;
9999}
100100
0 commit comments