Skip to content

Copy Image from Chrome and then pasting to Zulip causes the client to handle the paste as the URL of the image #1411

Open
@redfellow

Description

@redfellow

To reproduce

1: I select "Copy Image" by right clicking an image in Chrome
2: I paste to Zulip

Expected
Zulip takes the image data from clipboard and uploads it

Actual result
Zulip takes the HTML portion from clipboard (url) and then tries to attach that

Screenshots
1: I verified my clipboard does contain image data:
Image

2: Text portion in the typing area is showing the URL from the HTML portion

Image

Desktop (please complete the following information):

  • Windows 11

Other info
While ingesting the image URL works when the image is publicly available, if it's not, for example Google Photos etc, the end result will be broken.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions