这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@neerajkumarc
Copy link
Contributor

Summary

Improved the clipboard code by replacing the deprecated document.execCommand with the modern Clipboard API (navigator.clipboard.writeText).

How Has This Been Tested?

  • Ran tests with composer test
  • Added or updated test cases to test new features

Copy link
Owner

@DenverCoder1 DenverCoder1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thanks for the contribution 🎉

@DenverCoder1 DenverCoder1 changed the title Improved Clipboard Copying Code refactor: Improved clipboard copying code Nov 16, 2023
@DenverCoder1 DenverCoder1 merged commit dd8bcf7 into DenverCoder1:main Nov 16, 2023
@neerajkumarc neerajkumarc deleted the improve-clipboard-code branch November 17, 2023 04:49
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.

2 participants