We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is an umbrella issue to cover all the various use-cases for keyboard text selection and text deletion.
Note: we may change parts of this plan.
beforeinput
getTargetRanges()
Intl.Segmenter
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
This is an umbrella issue to cover all the various use-cases for keyboard text selection and text deletion.
Note: we may change parts of this plan.
Keyboard Text Selection
Moving backward/forward
Deleting backward/forward
beforeinput
is supported we should attempt to use the boundary fromgetTargetRanges()
beforeinput
is not supported, we should apply a naive (and cheap) boundary implementationMoving/Deleting a word backward/forward
Intl.Segmenter
is supported, we should always use this to work out the right word boundaryIntl.Segmenter
is not supported, we should check if nativebeforeinput
is supported.beforeinput
is supported we should attempt to use the boundary fromgetTargetRanges()
beforeinput
is not supported, we should apply a naive (and cheap) word boundary implementationMoving/Deleting a line backward/forward
beforeinput
is supported we should attempt to use the line boundary fromgetTargetRanges()
beforeinput
is not supported, we should apply a naive approach and move the selection to the start of the current block.Moving a block backward/forward
The text was updated successfully, but these errors were encountered: