Im trying to write a chrome extension that automatically writes text in the text box when a user presses a button. Im pretty sure the website I am trying to make the chrome extension work on is using a lexical editor and react.
Does anyone know how I can input text into a lexical editor from its DOM element?
Ive tried sending Keypress events to the lexical editor element and changing its inner text without any luck.