uiwjs / uiwjs/react-codemirror

Access State and View of React-CodeMirror

Open
#395 1 comment 0 reactions 0 assignees View on GitHub

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?

image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.