I have some feedback on potentially improving the UI editing experience for n8n nodes like the function node. I am guessing that some of these may even have workarounds that I am not aware of and am hoping to get educated on the same.
If I delete a node accidentally, there is no way to get it back by doing a CTRL+Z/CMD+Z. This is particularly annoying when I have a lot of new code written in it and accidentally delete the node before saving the workflow.
Selecting multiple lines and doing a tab simply deletes those lines in the editor view of any node
When selecting text in any node, if the mouse pointed happens to be outside the node pop-up before the selection click is released, the node pop-up simply closes. Is there a way to detect selection clicks or maybe even prevent the node pop-up from closing on clicks outside it, considering that there is a dedicated close button for that operation? Sometimes, this compounded with item no.1 causes an entire node to be irrecoverably deleted when all I was doing was selecting a line and deleting it.