3 ms·
Great news to hear Lexical replacing Draft. Also great that you're handling `beforeinput` (like Slate). I work on a text expander browser extension and supporti
by ghinda 4y ago
Great news to hear Lexical replacing Draft. Also great that you're handling `beforeinput` (like Slate).
I work on a text expander browser extension and supporting Draft is a pain[1].
Are there any plans to make inserting text from the "outside" easier on Lexical? Maybe exposing the Lexical instance on the dom node (like CKEditor does)? Right now we're using `execCommand` to support Lexical.
[1] https://github.com/Briskine/briskine/blob/master/src/content/editors/editor-draft.js https://github.com/Briskine/briskine/blob/master/src/content...