GoogleChromeLabs/squoosh

Show a message when pasting fails

Open

#637 opened on Jun 25, 2019

View on GitHub
 (2 comments) (1 reaction) (0 assignees)TypeScript (20,335 stars) (1,431 forks)batch import
feature requestgood first issue

Description

#98 added support for onpaste. However, sometimes what’s on the clipboard cannot be pasted into Squoosh (e.g. image data copied from Photoshop). In that case, it would be great to detect the failure and show an error message.

Contributor guide