wordpaste
github.com- Category
- Developer Tools
- Rank
- No. 3277Tools index
Previous survey · No. 3017 ·
- Type
- TOOL
- Use case
- Data Processing
- Date
About
A dependency-free JavaScript/TypeScript library exposing a single `transformPastedHTML` function that takes clipboard HTML from Word, LibreOffice, Outlook, Excel or Google Docs and returns clean HTML, leaving ordinary HTML untouched. Its distinguishing behavior is preserving equations as editable LaTeX instead of flattening them into images, and restoring real nested and numbered lists. It ships at 3.6 kB gzipped with types included and wires into Tiptap, ProseMirror, Lexical or vanilla editors in one line.
Tags
javascripttypescripteditorclipboardlatexhtml
Media
Comments (0)
No comments yet
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.