evoluhq / evolu

A local-first platform designed for privacy, ease of use, and no vendor lock-in
https://evolu.dev
MIT License
1.16k stars 39 forks source link

Support CRDT rich text #236

Open steida opened 8 months ago

steida commented 8 months ago

Based on my Peritext PoC.

negue commented 4 months ago

Rich Text would be HTML?

or would markdown itself be considered as rich text and with that could result in issues having that in a property ?

steida commented 4 months ago

https://github.com/evoluhq/evolu.me uses Lexical data model. It works, but it could be better. You can store HTML as a string as well. Unfortunately, the ideal solution is much harder: something like Automerge + Peritext.

steida commented 1 month ago

Automerge 2.2 supports Rich Text 🎉 But the automerge itself isn't working with Next.js.

https://github.com/automerge/automerge/issues/925

The idea is to leverage Automerge in Evolu for rich tech documents and use Evolu as a sync encrypted, etc. layer.