Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not possible to select specified characters #1571

Closed
1 task done
FlashTang opened this issue Dec 6, 2023 · 16 comments
Closed
1 task done

Not possible to select specified characters #1571

FlashTang opened this issue Dec 6, 2023 · 16 comments
Labels
help wanted Extra attention is needed

Comments

@FlashTang
Copy link

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 FlashTang added the help wanted Extra attention is needed label Dec 6, 2023
@singerdmx
Copy link
Owner

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!

@EchoEllet
Copy link
Collaborator

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?

@FlashTang
Copy link
Author

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.

@EchoEllet
Copy link
Collaborator

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?

@FlashTang
Copy link
Author

FlashTang commented Dec 6, 2023

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

@EchoEllet
Copy link
Collaborator

Do you know what does it selects?

@FlashTang
Copy link
Author

FlashTang commented Dec 6, 2023

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

@EchoEllet
Copy link
Collaborator

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
Copy link
Collaborator

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)

@FlashTang
Copy link
Author

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)

@EchoEllet
Copy link
Collaborator

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
Copy link
Collaborator

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.

@FlashTang
Copy link
Author

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
Copy link
Author

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

@shorben07
Copy link

Range selector shows up if double tap on the word

@CatHood0
Copy link
Collaborator

I will close this since we have no responses if the issue still persisting. Please, reopen if your issue persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants