Support enterKeyHint for Mobile device #365
Closed
clemdesign
started this conversation in
General
Replies: 2 comments
-
Sure. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Done: #366 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I would like to propose the support of enterKeyHint attribute for mobile device.
There is an example of implementation here (Look for
enterkeyhint
).Problem:
On iOS devices, the keyboard use "Back" label for "Enter" key. It is not appropriate for editing. And iOS seems not propose the "Enter" label for the keyboard (after many tests and I'm not found spec on this).
So, I propose to add an option
enterKeyHint
toEditor
of this library, which set the attributeenterkeyhint
of the ProseMirror editor.This option will allow to define all possibles values from spec.
And Integrator can choose the right label according context.
I prepared an PR and can propose it.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions