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] (cmd/ctrl)+a (Select All) in rich-text view, then delete/backspace deletes front-matter #611

Closed
2 tasks done
rbbydotdev opened this issue Oct 23, 2024 · 1 comment
Closed
2 tasks done
Labels
bug Something isn't working released

Comments

@rbbydotdev
Copy link

rbbydotdev commented Oct 23, 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
(cmd/ctrl)+a (Select All) in rich-text view, then delete/backspace the text will delete the front-matter. This is likely to be expected in source mode, since you are 'selecting' it, but this is otherwise invisible in source mode

Reproduction
Start from https://codesandbox.io/p/sandbox/mdx-editor-base-q8s7zr?file=/src/App.tsx to reproduce the problem so that I can observe the issue on my side and make sure that the fix reliably addresses it.

To Reproduce
Steps to reproduce the behavior:

  1. Go to rich-text editor view
  2. press cmd+a for select all
  3. hit back space to clear text
  4. check front-matter

Expected behavior
Expecting front-matter to remain, when this is done in rich-text mode
screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: MacOS
  • Browser FireFox
@rbbydotdev rbbydotdev added the bug Something isn't working label Oct 23, 2024
@rbbydotdev rbbydotdev changed the title [BUG] mod+A (Select All) in rich-text view, then delete/backspace deletes front-matter [BUG] (cmd/ctrl)+a (Select All) in rich-text view, then delete/backspace deletes front-matter Oct 23, 2024
Copy link

🎉 This issue has been resolved in version 3.17.2 🎉

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