Add selection-to-subflow context menu item

pull/5337/head
Nick O'Leary 2025-10-29 17:31:23 +00:00
parent 7a543aff36
commit 18f2285a48
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
1 changed files with 5 additions and 0 deletions

View File

@ -223,6 +223,11 @@ RED.contextMenu = (function () {
{ onselect: 'core:show-export-dialog', label: RED._("menu.label.export") }
)
}
if (hasSelection && canEdit) {
menuItems.push(
{ onselect: 'core:convert-to-subflow', label: RED._("menu.label.selectionToSubflow") }
)
}
menuItems.push(
{ onselect: 'core:select-all-nodes', label: RED._("keyboard.selectAll") }
)