But the editor loses focus after each keystroke. If you work that one out, let me know. Plenty of people having issues with the editor stealing focus when updated, on the Lexical discord: https://lexical.dev/community
Hopefully this is a really bad way of doing it, which will spur someone on to give a better answer!
I got this working using a custom plugin, which I hate that I had to do:
Plugin:
But the editor loses focus after each keystroke. If you work that one out, let me know. Plenty of people having issues with the editor stealing focus when updated, on the Lexical discord: https://lexical.dev/community
Hopefully this is a really bad way of doing it, which will spur someone on to give a better answer!