Skip to content

paste image into textfield #46418

Description

@jibbers42

Use case

Specifically, to "paste" image using Bitmoji Keyboard.

According to Bitmoji:

Q: Why can’t I paste a Bitmoji into my messaging app?

A: Bitmoji for Gboard is compatible with any messaging app that supports pasting an image from the keyboard to the text field.

If you are unable to paste a Bitmoji into the text field, it’s likely that the messaging app you’ve selected does not support image pasting.

Using the Bitmoji Keyboard in Discord is a good example of what I'm after.

Proposal

I'm not a native developer so frankly I'm not sure how this is handled in iOS and Android, but my guess is that they provide a callback you can set to handle a paste depending on content type.

I'd like to be able to provide a function to the Textfield to handle a paste event and do something with the data depending on its content type.

Activity

  1. added
    a: text inputEntering text in a text field or keyboard related problems
    c: proposalA detailed proposal for a change to Flutter
    c: new featureNothing broken; request for a new capability
    on Dec 9, 2019
  2. ykaito21 commented on Dec 24, 2019

    @ykaito21

    Being able to insert inline image into TextField is what I want too.

  3. ltOgt commented on Jan 23, 2021

    @ltOgt

    Related: #20796

  4. justinmc commented on Oct 7, 2021

    @justinmc
    Contributor

    Also related: #67857

  5. added
    P3Issues that are less important to the Flutter project
    on Dec 13, 2022
  6. gnprice commented on May 13, 2023

    @gnprice
    Member

    Now that #20796 is done, does that cover this request? Or is there something separate to be done for this?

  7. jibbers42 commented on May 13, 2023

    @jibbers42
    Author

    Possibly, when/if I get back around to this I'll reopen or create a new issue if I have trouble.

  8. github-actions commented on May 27, 2023

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  9. locked as resolved and limited conversation to collaborators on May 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projecta: text inputEntering text in a text field or keyboard related problemsc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterframeworkflutter/packages/flutter repository. See also f: labels.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions