Skip to content

Handle Clipboard errors #160

Closed
Closed
@CarlosNZ

Description

@CarlosNZ

As discussed in #159, the navigator.clipboard can sometimes be undefined, or possibly fail for other reasons.

Will update the handleCopy function to check for the success/failure of the clipboard operation, and pass the result to the enableClipboard function, which will provide a mechanism for users to add their own clipboard handling/error reporting if required.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions