-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the bug
When using the demo of the package on a web browser, the keys to move around the text (Home, End) or select it (Shift+Home, Shift+End) are not implemented. On the web and computers, it's a pretty commonly used bunch of keys. PageUp and PageDown are not working too, although I think they are less commonly used.
To Reproduce
- Open web demo (https://morn-fun.github.io/crayon/)
- Try to move to start of phrases with Home, end of phrases with End, or select until start/end with Shift+Home/End
Expected behavior
- Home should move the cursor to the start of the line
- End should move the cursor to the end of the line
- Shift + Home should select all text from current position until the start of the line
- Shift + End should select all text from current position until the end of the line
- PageUp should move the cursor up
- PageDown should move the cursor down
Screenshots
Environment(please complete the following information):
Didn't run it locally, used example demo app.
Platform
Web - Tested on Edge and Firefox
Source data
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request