3 ms·
How does this relate to [Slate.js][0]? Why would I use this over Slate? The most important part is the data model. Slate gives you the ability to edit not only
by edem 5y ago
How does this relate to [Slate.js][0]? Why would I use this over Slate? The most important part is the data model. Slate gives you the ability to edit not only HTML but anything you can come up with. How does tiptap relate to this?
[0]:https://www.slatejs.org/examples/richtext https://www.slatejs.org/examples/richtext
- philippkuehn 5y agoProseMirror (used by tiptap) is way more stable and comes with different types of collaboration support (OT & CRDT). Data is stored as JSON as well. But you can import/export good old HTML too.
- edem 5y agoThis doesn't answer my question: how does the model differ? Does tiptap use a similar "can write an editor for anything since everything is abstract" concept?
- hanspagel 5y agoEverything you can do with Slate.js, you can do with tiptap, too. Some things are even easier in tiptap, some are better supported (collaborative editing), and Slate.js is only available for React, but tiptap is framework-agnostic. If you’re happy with Slate: That’s fine, it’s an amazing editor. For some use cases, tiptap is probably better suited, though, but that highly depends on your use case.
- edem 5y agoThanks, I'll take a look. I'm using React + Next.js so I'm pretty happy with Slate, but I'll keep this in my bookmarks.