How to diff two documents?

At lease one of the following is required to do collaboration in Prosemirror:

  1. store a long enough history on the server
  2. able to produce diff between two document

The officially suggestion is to go with 1.). But I’m wondering if it’s possible to go with options 2.)? Seems like there’s no ready to use diffing method in the library.

Would appreciate some advice on going with options 2.

Thank you!

1 Like

Have a look here: How to compare 2 versions of the same document