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

Not possible to select specified characters

Open FlashTang opened this issue 1 year ago • 15 comments

Is there an existing issue for this?

The question

Hi there Not possible to select specified characters ? there is only "SelectAll" button on iOS , is this a BUG ? ios : 15.6 flutter: 3.16.2 quill_flutter: 8.6.4 here is the screenshoot 897E7B6DD50CE8D33972095009964F7F

FlashTang avatar Dec 06 '23 11:12 FlashTang

Hello there, on behalf the Flutter Quill Team I would like to thank you for opening your first issue. Your inputs and insights are valuable in shaping a stable and reliable version for all our users. Thank you for being part of the open-source community!

singerdmx avatar Dec 06 '23 11:12 singerdmx

Hi, thank you for the report, can you try the dev version on pub.dev or in the GitHub dev branch to confirm if this issue exists?

EchoEllet avatar Dec 06 '23 12:12 EchoEllet

Hi, thank you for the report, can you try the dev version on pub.dev or in the GitHub dev branch to confirm if this issue exists?

Hi @freshtechtips Just tested the dev version, it's the same, no "select" button p.s. there is a mistake in ios info.plist, the NSMicrophoneUsageDescription key is not closed properly screenshoot : from left to right : "Cut" "Copy" "Paste" "Select All" IMG_2540 Thank you.

FlashTang avatar Dec 06 '23 15:12 FlashTang

Hi, thank you for the report, can you try the dev version on pub.dev or in the GitHub dev branch to confirm if this issue exists?

Hi @freshtechtips Just tested the dev version, it's the same, no "select" button p.s. there is a mistake in ios info.plist, the NSMicrophoneUsageDescription key is not closed properly screenshoot : from left to right : "Cut" "Copy" "Paste" "Select All" IMG_2540 Thank you.

Thanks, I will check it, but tell me What exactly do you want to select?? We didn't implement the select button and don't know what is that

Is it specific to iOS?

EchoEllet avatar Dec 06 '23 15:12 EchoEllet

Hi, thank you for the report, can you try the dev version on pub.dev or in the GitHub dev branch to confirm if this issue exists?

Hi @freshtechtips Just tested the dev version, it's the same, no "select" button p.s. there is a mistake in ios info.plist, the NSMicrophoneUsageDescription key is not closed properly screenshoot : from left to right : "Cut" "Copy" "Paste" "Select All" IMG_2540 Thank you.

Thanks, I will check it, but tell me What exactly do you want to select?? We didn't implement the select button and don't know what is that

Is it specific to iOS?

I think it's not specific to iOS , it's also available on Android, it's a common feature screenshoots here (quill_html_editor, running on webview) IMG_2542 //+++++++++++++++++ IMG_2543

FlashTang avatar Dec 06 '23 15:12 FlashTang

Do you know what does it selects?

EchoEllet avatar Dec 06 '23 16:12 EchoEllet

Do you know what does it selects?

If you tap select , it selects the "last word" e.g. "This is a text" the last "text" will be selected and there will be a "range chooser handle". like the image I posted above

Android example: Screen Shot 2023-12-07 at 00 19 45

FlashTang avatar Dec 06 '23 16:12 FlashTang

Do you know what does it selects?

If you tap select , it selects the "last word" e.g. "This is a text" the last "text" will be selected and there will be a "range chooser handle". like the image I posted above

Android example: Screen Shot 2023-12-07 at 00 19 45

I still don't see the Select button in this image

EchoEllet avatar Dec 06 '23 17:12 EchoEllet

Flutter only supports the following by default:

    required final ClipboardStatus? clipboardStatus,
    required final VoidCallback? onCopy,
    required final VoidCallback? onCut,
    required final VoidCallback? onPaste,
    required final VoidCallback? onSelectAll,
    required final VoidCallback? onLookUp,
    required final VoidCallback? onSearchWeb,
    required final VoidCallback? onShare,
    required final VoidCallback? onLiveTextInput,

Yes we can add more but that's the default editable text button items(ContextMenuButtonItem)

EchoEllet avatar Dec 06 '23 17:12 EchoEllet

Flutter only supports the following by default:

    required final ClipboardStatus? clipboardStatus,
    required final VoidCallback? onCopy,
    required final VoidCallback? onCut,
    required final VoidCallback? onPaste,
    required final VoidCallback? onSelectAll,
    required final VoidCallback? onLookUp,
    required final VoidCallback? onSearchWeb,
    required final VoidCallback? onShare,
    required final VoidCallback? onLiveTextInput,

Yes we can add more but that's the default editable text button items(ContextMenuButtonItem)

Indeed, flutter has no "select" button, but it has "range selector" (two draggable dots) where flutter quill doesn't have screenshoot: IMG_2544(20231207-113255)

FlashTang avatar Dec 07 '23 03:12 FlashTang

Flutter only supports the following by default:

    required final ClipboardStatus? clipboardStatus,
    required final VoidCallback? onCopy,
    required final VoidCallback? onCut,
    required final VoidCallback? onPaste,
    required final VoidCallback? onSelectAll,
    required final VoidCallback? onLookUp,
    required final VoidCallback? onSearchWeb,
    required final VoidCallback? onShare,
    required final VoidCallback? onLiveTextInput,

Yes we can add more but that's the default editable text button items(ContextMenuButtonItem)

Indeed, flutter has no "select" button, but it has "range selector" (two draggable dots) where flutter quill doesn't have screenshoot: IMG_2544(20231207-113255)

Can you send me an app that I can try on my own?? Is there any app on store or GitHub repo

Because I still can't see the button select

EchoEllet avatar Dec 07 '23 07:12 EchoEllet

there is a mistake in ios info.plist, the NSMicrophoneUsageDescription key is not closed properly

Hi, I just checked it and it seems it closed properly.

EchoEllet avatar Dec 07 '23 12:12 EchoEllet

there is a mistake in ios info.plist, the NSMicrophoneUsageDescription key is not closed properly

Hi, I just checked it and it seems it closed properly.

No, look this : https://github.com/singerdmx/flutter-quill/blob/dev/example/ios/Runner/Info.plist

FlashTang avatar Dec 07 '23 14:12 FlashTang

there is a mistake in ios info.plist, the NSMicrophoneUsageDescription key is not closed properly

Hi, I just checked it and it seems it closed properly.

Flutter only supports the following by default:

    required final ClipboardStatus? clipboardStatus,
    required final VoidCallback? onCopy,
    required final VoidCallback? onCut,
    required final VoidCallback? onPaste,
    required final VoidCallback? onSelectAll,
    required final VoidCallback? onLookUp,
    required final VoidCallback? onSearchWeb,
    required final VoidCallback? onShare,
    required final VoidCallback? onLiveTextInput,

Yes we can add more but that's the default editable text button items(ContextMenuButtonItem)

Indeed, flutter has no "select" button, but it has "range selector" (two draggable dots) where flutter quill doesn't have screenshoot: IMG_2544(20231207-113255)

Can you send me an app that I can try on my own?? Is there any app on store or GitHub repo

Because I still can't see the button select

Yes , flutter has no select button (even Android native) , but you can adjust the range after text is selected Screen Shot 2023-12-07 at 22 18 16

But seems flutter quill can't

FlashTang avatar Dec 07 '23 14:12 FlashTang

Range selector shows up if double tap on the word

shorben07 avatar Dec 08 '23 11:12 shorben07