clipboard-polyfill
Demo/test page

Plain text
Markup
DOM node
This will be copied.
Image (PNG)
Paste text
Paste area