Add selection-to-subflow context menu item

This commit is contained in:
Nick O'Leary
2025-10-29 17:31:23 +00:00
parent 7a543aff36
commit 18f2285a48

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") }
)