diff --git a/src/composables/useCoreCommands.ts b/src/composables/useCoreCommands.ts index aae837c19..04ec6fab3 100644 --- a/src/composables/useCoreCommands.ts +++ b/src/composables/useCoreCommands.ts @@ -566,6 +566,16 @@ export function useCoreCommands(): ComfyCommand[] { function: () => { window.open('https://forum.comfy.org/', '_blank') } + }, + { + id: 'Comfy.Canvas.DeleteSelectedItems', + icon: 'pi pi-trash', + label: 'Delete Selected Items', + versionAdded: '1.10.5', + function: () => { + app.canvas.deleteSelected() + app.canvas.setDirty(true, true) + } } ] }