Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add files on clipboard support #8

Closed
tomayac opened this issue May 28, 2021 · 1 comment
Closed

Add files on clipboard support #8

tomayac opened this issue May 28, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@tomayac
Copy link
Owner

tomayac commented May 28, 2021

async function onPaste(e) {
  let file = e.clipboardData.files[0];
  let contents = await file.text();  
}
@tomayac tomayac added the enhancement New feature or request label Oct 20, 2021
@tomayac
Copy link
Owner Author

tomayac commented Oct 29, 2021

Implemented.

@tomayac tomayac closed this as completed Oct 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant