So, I have a customer that copy/paste info on the memo that a client of his always send to them whenever they want to buy something. Problem is, this info is separated by line breaks, and my client doesn't want it to.
I saw a lot of techniques using event listeners and alikes but I couldn't figure out how to make it work with unigui.
This is a js fiddle that I found (changed a bit) with exactly how I want my memo to behave. I don't know, nor did I found out, how to translate this to use in unigui and where/when to put it.
My application is desktop based.