diff --git a/packages/editor/src/utils/stage.ts b/packages/editor/src/utils/stage.ts index acc1da18..ff21ba75 100644 --- a/packages/editor/src/utils/stage.ts +++ b/packages/editor/src/utils/stage.ts @@ -46,7 +46,7 @@ export const useStage = (stageOptions: StageOptions) => { ]); stage.on('select', (el: HTMLElement) => { - if (`${editorService.get('node')?.id}` === el.id) return; + if (`${editorService.get('node')?.id}` === el.id && editorService.get('nodes').length === 1) return; editorService.select(el.id); });