Merge pull request #5337 from node-red/selection-to-subflow-menu

Add selection-to-subflow context menu item
This commit is contained in:
Nick O'Leary
2025-10-29 17:40:26 +00:00
committed by GitHub

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