Skip to content

Conversation

@SuppliedOrange
Copy link
Contributor

  • The website can now take in links from document.onpaste and attempt to fetch an image from it.
  • If there is an image, it loads it as a file.
  • Pasting links to non-images does not invoke any error in the same fashion that drag-drop does not invoke any error. It only silently returns. I hope you guys will have an alert dialog in the future that you can incorporate in these places.

Like DragDrop but allows you to paste an image
Allow an image to be pasted with the ImagePasted class
Renamed the file for better consistency, also fixed a small mistake
Added a condition that gets text from a clipboard and tries to fetch that text if it's a link to an image
Adds the ability to paste images into the website (sapic#27)
 - Matches any URL not just file paths because that was not a good move to begin with.
- Fixed a tiny bug
its no longer a link to a file regex. it scans for all links.
Informs the user that the fetch failed. The reason for the fetch failure should have errored in the console before this line.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant