

What is paste-rich?
Handling paste events in the browser is deceptively complex. Screenshots paste as image/png blobs. Word documents include both HTML and plain text. File explorers inject DataTransferItem lists. Every app — Notion clones, WYSIWYG editors, comment boxes — ends up writing its own clipboardData parsing from scratch. paste-rich normalizes paste events into predictable types — image, file, HTML, or text — in 3 lines. Zero dependencies. One callback, one predictable shape: { type, data, files }.
Screenshots
?
No comments yet. Be the first!
Real conversations about paste-rich on X
Post on X



