Ionaru / Ionaru/easy-markdown-editor

Only one word can be selected on touchscreens

Open
#529 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug
Dominant language
JavaScript
Stars
3.1k
Forks
363
PR merge metrics
No merged PRs in 30d

Description

On a touchscreen device (e.g. iPad) it is only possible to select a single word by double tapping or long pressing.

This is not the expected behaviour for Textarea. In a standard Textarea, it is possible to select multiple words by dragging the selection handles.

It is possible for this to work as expected in a browser-based editor. One example would be the editor in the [Datenstrom Yellow Edit Extension](https://github.com/annaesvensson/yellow-edit/blob/main/edit.js) (website/blog/cms).

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.

Research direction

Start by reproducing the selection behavior on an iPad or other touchscreen, then compare it with a standard Textarea and the browser-based editor in the linked Datenstrom Yellow Edit Extension example. Done means dragging the selection handles can select multiple words in the editor, not only a single word.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.