Closed srenatus closed 6 months ago
Oh boy. I just love Docusaurus. Please see if 0.19.4 fixes the problem for you.
Yay, thanks for the quick fix 🚀
I'm afraid I've run into this problem again, using DOM files: It's all going well when referencing Githubissues.
Hi!
I've been banging my head against using codapi-js with docusaurus. If you see this very basic demonstration on codesandbox.io, and you "browse" to
/blog/codapi
in the embedded browser, you'll find this:⏬ Clicking on "edit", or clicking into the highlighted code, makes it become this:
(I'm aware that it's not set up to actually Run anything, but that's OK, I'm merely worried about the basic editor right now.)
Googling around, I wasn't able to find much; maybe https://github.com/PrismJS/prism/issues/1764 could be related, or maybe not.
Short of using Codejar instead, do you happen to have an idea how this could be made to work?currently
Related to https://github.com/nalgeon/codapi-js/commit/9eb1ea3af21df83fee7716e711d5c5932eb3b736, I believe, since this ferretdb blog post works fine, and uses the previous code (not the textcontent approach)
Thanks for your time 😃