Is there a way to revert the behaviour of closing the editor window?

I apologise in advance, as I know @knolleary consulted with users carefully with his request for feedback, and others have posted about this, and there’s currently an open issue on Github.

So please feel free to lock this thread.

But first…

  1. Is there a way to revert to the previous behaviour, without actually having to downgrade?
  2. Which version should I downgrade to, if that's the only way to revert to the behaviour?

Thanks

Mat

4.0.9 I think

4.0.9 - it's the last version before telemetry and editor confirm close.

Downgrading is a bit drastic and I don't recommend it for several reasons. Most important one being CVEs

Since the default action of click outside was essentially the same as clicking done, you could use the predefined/default shortcut CTRL-ENTER

Alternatively, you could apply a shortcut key such as ESC. or ALT-C to the edit cancel action. In fact, by default, the shortcut is set to CTRL-ESC (so long as you are not using Windows because that just opens the start menu and cannot be overridden by a browser)

... but yes this is being re-looked at in the light of all the feedback.

Thank you @Steve-Mcl

The problem I am finding most often is that Ctrl-Enter (which I have always used in the past) doesn’t work when the editor window doesn’t have focus.

For me, this happens way more than I ever realised, for example when I’m multitasking and click into a different browser window or application, then come back to Node RED editor. (Perhaps it has happened after clicking out of the editor window first, but as a constantly-distracted person I tend to click around screens a lot without being fully conscious of this!) It’s then an additional mouse click to then have to do a keyboard shortcut.

Is there a keyboard shortcut to being editor window into focus, so it may then be closed with a keyboard shortcut?

No, but you can set the scope of the shortcut to work globally.

Just double check that CTRL-ENTER is not used anywhere else.

Super! Didn't know that was possible - that has made things a whole lot more usable for me :slight_smile: