Some keyboard shortcuts not working after reload

I have the following keymap in my user file, as configured from the editor:

{
 "core:enable-flow": {
   "scope": "*",
   "key": "ctrl-shift-up"
 },
 "core:disable-selected-nodes": {
   "scope": "*",
   "key": "ctrl-down"
 },
 "core:disable-flow": {
   "scope": "*",
   "key": "ctrl-shift-down"
 },
 "core:enable-selected-nodes": {
   "scope": "*",
   "key": "ctrl-up"
 }
}

When I figured configured those keys in the editor, they all worked perfectly. But when I reload the editor, only the ctrl-shift- keys work. The ctrl- keys map back to the default of moving a node up or down in the workspace. If I go in and play around in the keyboard shortcuts editor and remove it, then add it again, it works again. But only until I reload the editor (i.e. refresh the page). It seems that when the editor loads in the browser, it is not correctly mounting/mapping those two shortcuts.

So it appears to be a bug. But if I'm doing something wrong, please let me know.

Hi, could you please raise an issue here: node-red/node-red/issues detailing this issue so that it gets tracked?

Thanks

Okay, issue raised.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.