uiwjs / uiwjs/react-codemirror
Access State and View of React-CodeMirror
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 161
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to get access to the state of the editor in order to find the position of the cursor in order to broadcast it (using node/websockets). My question is how do you access state and view in the component?

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
The issue asks how to access editor state and view in the React-CodeMirror component for broadcasting the cursor through Node/WebSockets, but names no file, test, or entry point. First locate the component API and existing state or view examples; done would be a confirmed way to obtain the cursor position for broadcasting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100