Web API Clipboard

Web API Clipboard (ODC)

Stable version 0.1.0 (Compatible with ODC)
Uploaded on 07 November 2022 by Product League
Web API Clipboard

Web API Clipboard (ODC)

Details
Detailed Description

The Clipboard API provides the ability to respond to clipboard commands (cut, copy, and paste) as well as to asynchronously read from and write to the system clipboard. Access to the contents of the clipboard is gated behind the Permissions API: The clipboard-write permission is granted automatically to pages when they are in the active tab. The clipboard-read permission must be requested, which you can do by trying to read data from the clipboard. 

This API is designed to supersede accessing the clipboard using document.execCommand()

Shout out to Rui Barbosa for creating the original component in O11 Forge!