Preventing default behaviour for tab key press or overriding it #1941
balint-kada
started this conversation in
General
Replies: 2 comments 3 replies
-
Found solution for key presses, with customActions and customShortcuts, but even these don't work for Tab key, they work for every other key. Does anyone have a workaround for the tab key specificly, or a reason why it works like this here? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@singerdmx i saw you made it to a discussion, any thoughts? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there an existing issue for this?
Use case
I would want to implement a way, so tab key can work the same way as in a default text field:
Right now i've tried handling the tab keyevent before it gets handled in the QuillKeyboardListener, but haven't found a way to make it work.
Is there a way to make this work without implementing an override inside flutter-quill?
Proposal
I would want flutter quill to have an onKeyEvent override, or something similar to quillJs's keyboard module, where you can use keyBindings: https://quilljs.com/docs/modules/keyboard
Beta Was this translation helpful? Give feedback.
All reactions