Ben Holmes @bholmes.dev 路 May 5

I was getting really annoyed with TipTap + Prosemirror, so I decided to give Slate a try. ...Man, where has this library been my whole life 馃ス This bulleted list demo took me weeks to get half-working in TipTap. In slate, it took a couple hours (with Codex's help).

30 likes 7 replies

?

Replies

Nick The Sick 路 May 5

I agree that getting this sort of thing working for a markdown editor is harder than it should be. For lists specifically I think it would be 100% easier if you had gone with prosemirror-flat-list.netlify.app By @ocavue.bsky.social

Ben Holmes 路 May 5

Mixing bulleted lists with numbered lists with task lists like this, with `tab` handling for sublists? And the right HTML on the other side? With zero plugins? In ~1k lines of code? Prosemirror could never! Tossed it on GitHub: github.com/bholmesdev/b...

@ocavue.bsky.social 路 May 5

Checkout prosekit.dev if you want a Tiptap alternative with better list support

dad (aka miguel) 路 May 5

i am rebuilding the @offprint.app editor, i will be stealing this as a good example of how lists should be able to work, thank you

Adam Fortuna 路 May 5

I'm a big fan of Slate! We're using for our editor with some special tags (like spoiler). I love that we can parse it directly into HTML for for SSR, then hydrate specific tags with functionality (like spoilers click to reveal).

Alex Kempton 路 May 5

If you need something truly custom, I can highly recommend Lexical. Been using it on a job that needs some crazy text editor features and I couldn't imagine anything better lexical.dev

Pier 路 May 5

I struggled A LOT to implement a bullet system from scratch with vanilla ProseMirror a couple of years ago. It's been almost a decade since I last used Slate. It was way easier than PM but the future of the project seemed dubious. I see it's still in beta 馃槵