Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Launching the editor in diff mode seems to blank the content #321

Closed
2 tasks done
dave-db opened this issue Jan 19, 2024 · 1 comment
Closed
2 tasks done

[BUG] Launching the editor in diff mode seems to blank the content #321

dave-db opened this issue Jan 19, 2024 · 1 comment
Labels
bug Something isn't working released

Comments

@dave-db
Copy link

dave-db commented Jan 19, 2024

  • 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
Setting viewMode="diff" in the editor props, along with some markdown, seems to load the source in an empty state (the diff suggests all content has been deleted)

Reproduction
Codesandbox

To Reproduce
Steps to reproduce the behavior:
The editor loads with all the content highlighted as deleted

Expected behavior
The content should still be there!

Desktop (please complete the following information):
MacOS, Chrome 119, mdx-editor 2.3.4

@dave-db dave-db added the bug Something isn't working label Jan 19, 2024
Copy link

🎉 This issue has been resolved in version 2.3.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

No branches or pull requests

1 participant