You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What would be the expected and supported ClipboardEvent.clipboardData? I think it must be a File or a Blob cause reading a file from disk by provided path is not supported in Browser due to security concerns as far as I know.
What element should listen for the paste event? The dropzone and file input? This would mean that the user must first focus them before pasting. Not sure if that's an intuitive user experience.
Is there any default behavior if a user pastes to a file input?
A proof of concept would be great before starting actual implementation. Just in case someone wants to pick this one up. 😄
Investigate hooking into
paste
events in browsers and allowing users to disable this feature if they would like to.See https://developer.mozilla.org/en-US/docs/Web/API/ClipboardEvent
The text was updated successfully, but these errors were encountered: