As soon as I hit backspace, the browser hangs. If I wait long enough (2-3 minutes), the JavaScript finishes running. I did a profile I saw that it was related to trim() being called a lot?
I just reproed this bug again and on Microsoft Edge, it completed locked up the browser. I couldn’t load the space anymore. I had to go delete the card in Safari and delete this space from localStorage.
Can you try a few more empty lines? You are right, when I pasted that text, it was responsive. But after I added about 10 more lines, it started to slow down. If I add more, it starts to lock up.