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
(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
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
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:
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):
The text was updated successfully, but these errors were encountered: