Handle paste event on the web interface to allow pasting files directly into the browser #54
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As suggested by Thom.
See https://developer.mozilla.org/en-US/docs/Web/API/Element/paste_event
How should this interact with pasting a link or text into one of the form fields?
I think the most beautiful support would be to allow pasting, and depending on the paste content, emit some kind of in-browser view of what was pasted. Then the user can submit that, or maybe even edit that before submitting.
For example:
<textarea>
with the pasted text asinnerText
. (And a submit button.)binary file of 42kB
.