Media picker - Clipboard
Clipboard
The Clipboard
React component provides copy & paste capabilities. This allows the user to paste copied files into the browser.
_It provides with container
and onPaste()
params in config
prop
to set the boundary of the pasted zone. These two params are designed to address customer dissatisfaction when attachments are pasted duplicated, or to unwanted Jira issues (https://product-fabric.atlassian.net/browse/MEX-2454). _
Usage
Props
Copy and Paste example
Clipboard example
Use CMD+C to copy an image from finder, followed by CMD+V to paste the image when this window is focused.
You can also take a screenshot with SHIFT+CTRL+COMMAND+4 (Mac) and paste with CMD+V.
If you paste an image you will see a preview.