flutter-quill icon indicating copy to clipboard operation
flutter-quill copied to clipboard

Add a method to set TextInputAction

Open dashuaiqin opened this issue 2 years ago • 6 comments

My issue is about [Mobile]

A very useful plugin. Can you please add a way to set a keyboard's TextInputAction?

dashuaiqin avatar Jul 28 '23 07:07 dashuaiqin

What do you mean?

singerdmx avatar Aug 04 '23 02:08 singerdmx

image I mean this action type

dashuaiqin avatar Aug 04 '23 02:08 dashuaiqin

Any update?

xalanq avatar Nov 08 '23 10:11 xalanq

My issue is about [Mobile]

A very useful plugin. Can you please add a way to set a keyboard's TextInputAction?

Thank you for providing that to our intention, we will look into that soon

EchoEllet avatar Nov 08 '23 18:11 EchoEllet

any updates about this enhancement?

dumasrobert13 avatar May 16 '24 12:05 dumasrobert13

any updates about this enhancement?

We already added it, I heard about some issues about it when changing it to anything other than newLine but I don't remember much

EchoEllet avatar May 16 '24 12:05 EchoEllet

@EchoEllet There should be a bug in QuillEditorState. When creating new QuillRawEditorConfigurations, configurations.textInputAction should be assigned to textInputAction.

https://github.com/singerdmx/flutter-quill/blob/faf8f558a8e52a2ce59d37883d1f4b1b3d1edcdb/lib/src/editor/editor.dart#L235-L302

huandu avatar Jul 23 '24 07:07 huandu

I create a PR #2057 to fix this issue.

huandu avatar Jul 23 '24 07:07 huandu