etn-ccis/blui-doc-it

Stop using execCommand

Closed this issue · 2 comments

Describe the desired behavior

Use the clipboard API

Describe the current behavior

document.execCommand is used. It is deprecated. https://github.com/pxblue/doc-it/blob/85e66cb6244941c2332c0d8dc6b00178c6f1c06a/src/app/shared/utilities.tsx#L33

Use this for Colors, Deeplinking, Icons, etc. Anywhere you click to copy something.

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.