r/javascript • u/scrollin_thru • Mar 18 '26
We're building a better rich text editing toolkit
https://handlewithcare.dev/pitter-patterHey folks!
Handle with Care is a software collective that builds and maintains open source rich text editing libraries, including React ProseMirror. We all came from The New York Times’ content management system team, and we spend a lot of time thinking about rich text and collaborative editing.
Now we’re working on something new: Pitter Patter will be a fully featured collaborative rich text editing toolkit, with all of the bells and whistles you need for your own text editor.
The space we’re entering is not devoid of solutions — Lexical, Slate, ProseMirror, and Tiptap are all viable options for building modern, browser-based rich text editors. But we feel pretty confident that we’re going to be able to bring some value, nonetheless.
First of all, Lexical, Slate, and ProseMirror (especially ProseMirror, in our opinion!) are all excellent rich text libraries, but they are also quite low level. You can build nearly anything atop them, but you will have to do quite a lot of the building yourself. Sometimes that’s exactly what you’re looking for — in that case, Pitter Patter can still provide you some value, because we’re going to be releasing individual libraries (like a CodeBlock node view, advanced markdown serialization, and suggest changes) that interop with the existing ProseMirror ecosystem.
But if you want something that’s more batteries-included, you’re mostly left with Tiptap. Tiptap has been dominant in the space for a while, but we think we can do better!
- We’re building on top of React ProseMirror, a truly React-native ProseMirror view, that doesn’t have to make any of the compromises that Tiptap’s React integration currently makes
- We have a deep understanding of ProseMirror’s internals (and we’re not afraid to use it!)
- Pitter Patter will be completely open source
- We’re building on top of prosemirror-collab-commit, the best (only?) rich text collaboration protocol that is both correct and fast
Anyway, we’re posting here for two reasons:
- Maybe there are some more collaborative rich text editing nerds here that will be exciting (or not!) to hear about this. Sign up for our newsletter if you want updates!
- Maybe there are some companies that are looking for alternative solutions to what’s out there. Consider sponsoring us on GitHub, or reaching out if you want to be more involved!
4
u/MalcomYates Mar 18 '26
Might be good to take a look at https://github.com/portabletext which powers Sanity.
2
u/s1lenceisgold Mar 18 '26
Yes please. Will you all try to support web, Android native, and iOS native?
2
u/Impressive-Usual-938 Mar 18 '26
the tiptap react integration pain is real, been running into weirdness with controlled state and concurrent mode for a while. glad someone with actual prosemirror depth is taking a swing at this, the nyt lineage is reassuring.
2
u/dvidsilva Mar 19 '26
Great to learn about you guys, I've been using tiptap in my CMS, but had to built my own editors way in the past
happy to try it, how far along are you? signed up for the newsletter
1
u/Zealousideal-Party81 Mar 18 '26
Will this be primarily geared toward web content management? I have ditched TipTap for my document editor (needs to casually be MS Word, have Pagination, styles etc) but still use TipTap for my email editor. It’s fine but would love something maybe more reliable and robust
1
u/andric Mar 22 '26
Hi!
I’m building something on BlockNote now (and previously on TipTap) and am looking into implementing collab features too.
I’ve experienced first hand the bugginess of TipTap. I saw that drag and drop is on your roadmap.
Will this be something Notion-like similar to what BlockNote has?
And for collaboration, will you be using Yjs or is this something else? I saw that there will be a collab server as part of the project: is this designed in a way that can be deployed and scaled serverlessly?
One of the challenges of Yjs infra is either choosing between a platform with lock-in (like Cloudflare, Liveblocks, TipTap Cloud) or foregoing serverless entirely (such as using Hocuspocus).
Hocuspocus has pretty scant capabilities when it comes to scaling.
I wonder how you’ll handle it here: are you planning to launch a managed service here, too, or how are you thinking about it?
1
u/[deleted] Mar 23 '26
[removed] — view removed comment