Skip to content

Improve responsiveness composing mails with large inline attachments #13535

Description

@odzhychko

Is your feature request related to a problem? Please describe.

When pasting an image in to a mail we store it in the <img> src attribute as a data URL.

`<img src="data:image/png;base64,iVBO...`

This causes the browser to struggle with staying response. The larger the file size the inline image is the more apparent it becomes.

Describe the solution you'd like

Use blob URLs instead.

Describe alternatives you've considered

Uploading the inline images directly to the server and the using the ULRs to the uploaded files.

Using uploaded images is a good solution once the composed data was save as draft.
Until first save as draft blob URL work without requiring a server to upload the images.

Additional context

No response

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions