Does anyone have an example to reflect the updates in an editor instance to another instance?
The docs for Lexical.js are very poor.
Does anyone have an example to reflect the updates in an editor instance to another instance?
The docs for Lexical.js are very poor.
Copyright © 2021 Jogjafile Inc.
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!