uiwjs / uiwjs/react-codemirror
CTRL+Z empties the content
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 161
- PR merge metrics
- No merged PRs in 30d
Description
If you focus on the editor and press CTRL+Z the content dissapears. I think this is not expected behavior. This issue happens in both v3 and v4 demos in react-codemirror.
This doesn't happen in the codemirror demo, so I think it's an issue with react-codemirror package.
Any fixes or workarounds?
Contributor guide
No contributing guide indexed for this repository
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
Reproduce the Ctrl+Z behavior in the linked v3 and v4 react-codemirror demos, then compare it with the CodeMirror demo where the issue does not occur. Trace the react-codemirror integration to identify why undo clears the editor content. Done means Ctrl+Z preserves the expected content in both demos.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100