uiwjs / uiwjs/react-codemirror
select some word and enter chinese, it will error
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 161
- PR merge metrics
- No merged PRs in 30d
Description
https://codesandbox.io/s/happy-dew-qw53pj?file=/package.json
the basic codemirror 4.21.9
when I select multiline word (not all) and entry Chinese word;
sometimes it will error like“ Position 406 is out of range for changeset of length 397"
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
Start by opening the linked CodeSandbox and its package.json to reproduce the multiline selection and Chinese input case with basic CodeMirror 4.21.9. Trace the React integration around the selection and input change handling; done means the scenario no longer raises the out-of-range changeset error.
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