3 ms·
This is the first I have heard of TipTap, went to the demo and am very enthused about it now! What I don't immediately see is things around serialization. What
by blorenz 4y ago
This is the first I have heard of TipTap, went to the demo and am very enthused about it now! What I don't immediately see is things around serialization. What does your persistence layer look for this? What is your presentation of this serialized data? I'm on the React end of things so I currently serialize to markdown and utilize `react-markdown` to display the contents.
- hahamrfunnyguy 4y agoYou have the option of using HTML or JSON to store the document. I am storing it as JSON in a database column. The advantage of JSON is that it's already in the native form for ProseMirror, it is relatively straight-forward to merge documents together and can be easily queried from my database (SQL Server).
- wahnfrieden 4y agohttps://tiptap.dev/guide/output https://tiptap.dev/guide/output
- samwillis 4y agoMy particular use case was offline first, so using the Yjs bindings and combining with PouchDB I built a system to enable conflict free distributed off/online edits. It worked really well, however he project died in the end. Using Yjs in combination with PouchDB worked really well, it effectively allows you to have conflict free auto merging for Pouch/CouchDB documents. See here for details: https://discuss.yjs.dev/t/distributed-offline-editing-with-couch-pouchdb/340 https://discuss.yjs.dev/t/distributed-offline-editing-with-c... https://gist.github.com/samwillis/1465da23194d1ad480a5548458864077 https://gist.github.com/samwillis/1465da23194d1ad480a5548458...