Monaco editor misbehaviour?

I have mentioned this before but now I seem to have pinned down how to reproduce it.

Does anyone else see this in Node-red v5?
I see it in the initial editor view and in the expanded editor.

Double click to edit a function.
Highlight some text.
Start typing, eg ABC.

You would expect the highlighted text to be replaced by ABC but in fact the A is ignored, only BC is recorded.

If you click in the text to set the cursor position, or just start typing, ABC is recorded as expected.

I've seen it too and only in NR5 but couldn't reproduce it, so I ignored. With your description, I was able to reproduce in NR5. So there, it's definitely happening.

Tested in NR4 and didn't have the issue.

Thanks. Issue Editor ignores first character typed · Issue #5852 · node-red/node-red · GitHub raised.

For anyone finding this topic in the future, this has been identified as an upstream issue with monaco itself. We'll keep any eye on when they get it fixed and roll it into a NR maintenance release.

Any chance of rolling back the update of monaco in NR5? After all the editor in NR4 seemed to be working just fine. Were there any specifics errors in monaco that were fixed by upgrading in NR5?