Hacker News new | ask | show | jobs
by pembrook 1781 days ago
Curious if you looked into Editor.js at all when building?

Im in the middle of sizing up text editors myself, seems like editor.js would require less work, but wondering if I’m missing any red flags and should go with Slate or tiptap (prosemirror) instead.

At some point down the road I’d love to implement collaborative editing.

1 comments

We did look into editor.js and the API seems not as advanced as Slate's, mostly because Slate tries to replicate the DOM's behavior with Nodes and Ranges, so you can make edits in a very fine grained way.

If you're going for a new text editor, I'd start with Tiptap and try to check how to do advanced custom stuff with Prosemirror. Maybe if Tiptap 2 was out a year ago, we would have started with that.

For collaborative editing, definitely check out https://yjs.dev