Comments and chat related to collaborative documents

I would like to use Yjs for collaborative document editing.

Could we use it to allow users to comment and chat related to the document as well?

Warm regards,
David

Hi David,

Yep, that can be done.

  • A chat implementation is pretty straightforward using Yjs’ data types.

  • A comment feature can be best implemented using Y.RelativePosition - Yjs Docs.

Cheers,
Kevin

1 Like