Closed barclayadam closed 12 months ago
@barclayadam Thanks for reaching out. Clipboard API is not supported in OWA
If you need this API support and wish to file a feature request, please use the below link: https://aka.ms/M365dev-suggestions
This issue has been automatically marked as stale because it is marked as needing author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. Thank you for your interest in Office Add-ins!
This issue has been closed due to inactivity. Please comment if you still need assistance and we'll re-open the issue.
Provide required information needed to triage your issue
Your Environment
Expected behavior
await navigator.clipboard.writeText('My Text');
should copy to the clipboard. This works OK in the native Windows Outlook client, so parity between platforms seems sensible.Current behavior
An error:
Uncaught (in promise) DOMException: The Clipboard API has been blocked because of a permissions policy applied to the current document. See https://goo.gl/EuHzyv for more details.
Steps to reproduce
Thank you for taking the time to report an issue. Our triage team will respond to you in less than 72 hours. Normally, response time is <10 hours Monday through Friday. We do not triage on weekends.