Should multiple selection ranges be supported?
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 48
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
The DOM Selection object supports multiple selection ranges. In Firefox, these can be created by holding the command or ctrl key and performing multiple selections using the mouse.
It looks like the EditContext API supports only a single selection range. Was an intentional decision made to not support multiple selection ranges or was this an oversight? If only a single selection range is supported, how should web applications using EditContext behave if the user selects multiple ranges?
Contributor guide
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 reviewing the EditContext API's selection-range model and compare it with the DOM Selection specification linked in the issue. Determine whether multiple ranges are intentionally excluded and how applications should behave when they occur. Done means the API decision and expected application behavior are clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100