Retrieve/react to selection range

Open
#24 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
react, typescript
Domain
frontend

Research direction

No files, tests, or entry points are named in the issue, so first map where the editor exposes selection and caret state. Done means a documented way to retrieve and react to the current range or caret position, with coverage for the requested behavior.

Written by the indexing model from the issue text.

Description

enhancement

First, thank you so much for this plugin 🙏 the flexibility and power is so nice.

I was wondering it there is any way to get the current selection range or the current position of the caret? Thinking it would really cool if there was some way to achieve functionality like https://snack.expo.io/ with the drag and drop components or even the ability to pop a menu of components and insert them inline.

Dominant language
TypeScript
Stars
4.6k
Forks
260
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

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.

More from FormidableLabs/react-live

All issues in FormidableLabs/react-live

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.