Project Setup Guidelines? #578
Replies: 1 comment
-
This turns out to be invalid; it's not a problem with the plugins I was developing, there was a problem with the latest release of MDXEditor. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've got a React app and am starting the process of incorporating MDXEditor as my rich text editor, but I'm also extending it to include new markdown capabilities. I've started getting "unable to find an active editor state" errors (the editor loads fine, but if I click it I get that error), and I think I read somewhere that it has to do with peer dependencies. I've tried moving some of the Lexical libs into
peerDependencies
, but no luck so far.Are there guidelines others have followed to get everything working together? A React app, the MDXEditor, and some custom plugins?
In my case the plugins involve syntax extensions, node classes, and of course the Lexical/Mdast visitors, so I'm importing a number of libraries from Lexical and Micromark to get it all working. (Which it's not, yet, but the "active editor state" errors have stopped me from being able to troubleshoot... 🤣)
Beta Was this translation helpful? Give feedback.
All reactions