frnsys / hyperdocs

p2p collaborative document editing
106 stars 6 forks source link

Rich or pseudo-rich text #13

Open frnsys opened 6 years ago

frnsys commented 6 years ago

Callil recommended looking at draft-js, so that's one possibility.

Big question for whatever solution we try is how well it plays with Automerge so we don't have to roll our own CRDT.

Another possibility is using markdown as the document model but layering a "rich" text editor over top.

callil commented 6 years ago

maybe there is some concept of building on top of this structure/installing little dat tools like latex rendering or rich text even.

callil commented 6 years ago

http://prosemirror.net/

frnsys commented 6 years ago

Looks like slate might be a good fit

frnsys commented 6 years ago

There's a branch for draftjs support here, but it draftjs doesn't seem well-suited for collaborative editing: https://github.com/frnsys/hyperdocs/tree/richtext-draftjs

There's a branch for slate support here, which seems better suited for collaborative editing, but there's still a lot of uncertain work necessary to make it work: https://github.com/frnsys/hyperdocs/tree/richtext-slate