Search code examples
javascriptnode.jseditorreal-timecollaborative

Real-time collaborative rich text editing


I would like to have a real-time collaborative rich text editor for my webapp. So far i've done a LOT of research and i'm really a bit frustrated that there is nothing fitting out there. The thing is, that every solution out there is tightly coupled to an editor (Firepad for example uses CodeMirror/ Etherpad uses Etherpad). There are only two other solutions i found interesting:

  • ShareJs -> works only for plain text

  • Webstrate -> This was the MOST promising to me. It can handle DOM synchronization and therefore it can handle every contenteditable - great!

But the problem with Webstrate is, that it is in an alpha Version. So for me it was too buggy - didn't work out. Tried to get it working for about 2 days. The text synchronization was easy. But it didn't work with iframes or other stuff.

My claims are pretty high for a collaborative RTE - it should support:

  • Images

  • Iframes

  • Video

  • Text (of course)

While i'm searching for about 3-4 days now for a solution - maybe someone of you has a hint? Would be very gentle ;)


Solution

  • You can try http://swellrt.org, is a complete framework to develop real-time collaborative apps including rich-text support and an editor for Web.

    It provides a JS API, analogue to GD Real-time API, plus rich-text editting.

    The editor can be extended to support any attachment.

    It's a fork of Apache Wave that generalizes the original code.