mirror of https://github.com/node-red/node-red.git
Add selection-to-subflow context menu item
parent
7a543aff36
commit
18f2285a48
|
|
@ -223,6 +223,11 @@ RED.contextMenu = (function () {
|
||||||
{ onselect: 'core:show-export-dialog', label: RED._("menu.label.export") }
|
{ 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(
|
menuItems.push(
|
||||||
{ onselect: 'core:select-all-nodes', label: RED._("keyboard.selectAll") }
|
{ onselect: 'core:select-all-nodes', label: RED._("keyboard.selectAll") }
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue