MDXEditor onChange doesn't recognise text inside Admonitions
Hi
I encountered problem with onChange attribute of MDXEditor. When i'm working with AdmonitionDirectiveDescriptor i doesn't get updated values during adding changes inside Admonition component (any tip, danger etc...)
I'm getting update immediately when i move focus(cursor) from inside admonition. I attached screen with console log and current markdown editor value.
It's even visible on demo site: https://mdxeditor.dev/editor/demo when you put text inside and change tab to markdown
Version of @mdxeditor/editor: 1.1.2
That's correct. Real-time change tracking of the nested editors had some nasty loop side effects, which I've worked around by triggering on change when the nested editor loses focus. The current solution is's not something I'm extremely happy with, but I have not discovered a better way to deal with it.
I am leaving the issue open in case you want to give it a try, but realistically speaking I am unlikely to dig into it any time soon.