Outlook Addin currently does not support Clipboard API, because containing iframe does not have appropriate permissions. Currently the only other option to copy text is to use deprecated document.execCommand("copy").
For more information, please see this issue: https://github.com/OfficeDev/office-js/issues/1991
4 Comments
- rustymCopper Contributor
Would like to see this fixed so we can have a consistent experience across Desktop and Web.
- MasterZydraCopper Contributor
Any update on this? This prevents me from developing my add-in.
- aakshahyCopper Contributor
Been 3 years since the github issue was reported and Microsoft is sleeping on a basic 2 word fix. Shameful!
- Ima_GlazerCopper Contributor
This is also an issue in Word, Excel and PowerPoint Online.