Show HN: Wordpaste – clean Microsoft Word and Google Docs paste, keep equations
Category: library
Tags: clipboard-parser, html-sanitizer, latex, word, google-docs, rich-text-editor, tiptap
Score: 7.3/10 (Innovation: 6, Technical: 7, Documentation: 9, Utility: 7)
Wordpaste is a lightweight TypeScript library that cleans HTML pasted from Microsoft Word and Google Docs, preserving equations as editable LaTeX instead of flattened images. It integrates with major web editors (Tiptap, ProseMirror, Lexical, Quill) via a single transformation function, solving a common but under-served pain point for web editor developers.
Target audience: frontend developers, web editor developers, full-stack developers
Repository: https://smrifat1411.github.io/wordpaste/ · TypeScript · MIT · 9 stars
View on Hacker News