mirror of
https://github.com/node-red/node-red.git
synced 2025-12-27 15:34:26 +01:00
Merge pull request #5337 from node-red/selection-to-subflow-menu
Add selection-to-subflow context menu item
This commit is contained in:
@@ -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") }
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user