Skip to content

Conversation

@mbtools
Copy link
Contributor

@mbtools mbtools commented Sep 26, 2024

Fixes issues with document.execCommand('copy') which is deprecated.

Uses navigator.clipboard instead which has browser compatibility of +93%.

Replaces #37

Fixes issues with `document.execCommand('copy')` which is deprecated.

Uses `navigator.clipboard` instead which has [browser compatibility](https://caniuse.com/mdn-api_clipboard_writetext) of +93%.

Replaces microlinkhq#37
@vercel
Copy link

vercel bot commented Sep 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-json-view ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 27, 2024 1:07pm

@Kikobeats
Copy link
Member

@mbtools take a look to linter, it's failing 🙏

@Kikobeats
Copy link
Member

@mbtools unfortunately tests continuning failing

@mbtools
Copy link
Contributor Author

mbtools commented Sep 27, 2024

The test environment needed the fallback, too. Now it works in all cases 😃

PS: Can you enable "Issues" for this fork?

@Kikobeats Kikobeats merged commit ef46927 into microlinkhq:master Sep 27, 2024
3 checks passed
@mbtools mbtools deleted the patch-1 branch September 27, 2024 15:52
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