Notes just deleted an important document via "undo"
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 738
- Forks
- 162
- Avg merge
- 6h 2m
- Merged PRs (30d)
- 35
Description
I'm on latest RC. My notes folder is pointing to a directory with documents on an external storage . I opened a document via Notes app and was wondering why the undo arrow icon was highlighted, i thought maybe i pressed a key by accident and added a character somewhere, so i presssed the undo button, which cleared the entire content and there is no option to "redo".
This seems to be a visual bug in the Rich Text Editor only, if i switch to normal edit or preview mode, the content of the file is back. Switching back to rich text, the file is empty again.
Steps to reproduce
- Open existing document in rich text editor
- Press Undo button (which shouldn't be active since there were no changes in the first place)
- Lose entire content, editor window is empty with no possibility to restore content
Button shouldn't be active, or at least give possibility to redo
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in the rich text editor using the listed steps, then inspect the rich text editor's undo-state handling. Verify the editor's initial undo button state and confirm that pressing it cannot hide or clear existing document content; ensure the document remains recoverable, including through redo if supported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100