Skip to content

Conversation

@fyfirman
Copy link

@fyfirman fyfirman commented Aug 8, 2022

Issue: #140

Description

Regarding to this document, document.execCommand is deprecated and it is not recommended to use. I changed it with the Clipboard API that support most modern browser. However, I created the fallback if the browser does not support Clipboard API to use document.execCommand

Videos

fixed-copy-to-clipboard.mov

Other Information

Tested on Chrome 104 on macOS (Monterey)

@fyfirman fyfirman changed the title fix(csv-to-json): copy to clipboard not working fix(csv-to-json): copy to clipboard is not working Aug 8, 2022
@dboskovic
Copy link
Collaborator

Thanks for this contribution!

@dboskovic dboskovic merged commit 201e889 into FlatFilers:master Aug 8, 2022
@fyfirman
Copy link
Author

fyfirman commented Aug 8, 2022

Thanks for the approval @dboskovic , this is my first open-source PR. Glad to know it has been merged. Please let me know if it has been deployed, can't wait to see my changes on the production. 🙂

@alnoorp
Copy link
Contributor

alnoorp commented Aug 9, 2022

@fyfirman thanks for you PR! The change has been deployed and ready to check out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants