Currently I am using google-diff-match-patch to implement a real-time editing tool, which can synchronize texts between multiple users. Everything works great when operations ar
jsdifflib - A Javascript Visual Diff Tool & Library https://github.com/cemerick/jsdifflib
There's a demo here: http://cemerick.github.io/jsdifflib/demo.html