You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
I have read the documentation and cannot find an answer.
Describe the bug insertMarkdown() doesn't work correctly when editing in "source" mode with the diffSourcePlugin - specifically, any edits made in "source" mode will be undone, and the text will be inserted based on the last state from "rich-text" mode.
Describe the bug
insertMarkdown()
doesn't work correctly when editing in "source" mode with thediffSourcePlugin
- specifically, any edits made in "source" mode will be undone, and the text will be inserted based on the last state from "rich-text" mode.Reproduction
See https://codesandbox.io/p/sandbox/mdx-editor-base-forked-tzrt6v
To Reproduce
Expected behavior
I would expect
insertMarkdown()
to behave the same way in "rich-text" and "source" mode.Screenshots
N/A
Desktop (please complete the following information):
Additional context
N/A
The text was updated successfully, but these errors were encountered: