Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highlight API: way to select a highlight / edit the range of a highlight with native selection control #56

Open
hober opened this issue Jul 9, 2019 · 1 comment
Assignees
Labels
HighlightEvents Issues related to events for highlights

Comments

@hober
Copy link

hober commented Jul 9, 2019

In e-readers that have persistent highlight features, it's common to be able to tap on a highlight to edit it. When tapped, the highlight becomes a selection instead, and the selection's range can be tweaked just like you usually do, with the platform's native selection editing mechanism. De-selecting "commits" the change to the highlight.

Maybe this should be specified to be the default behavior when a highlight is tapped (see #54), and sites can do something else by calling preventDefault()?

@hober
Copy link
Author

hober commented Jul 9, 2019

See also whatwg/dom#772

@sanketj sanketj added HighlightEvents Issues related to events for highlights and removed Highlight API labels Sep 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HighlightEvents Issues related to events for highlights
Projects
None yet
Development

No branches or pull requests

5 participants