Copied from tiptap's collaboration extension with a few minor changes to make it work with our document api.
Changes:
contentError
enableContentCheck
See Collaboration for more info and useTestDocumentApi for an example of how to use it.
Optional
Copied from tiptap's collaboration extension with a few minor changes to make it work with our document api.
Changes:
contentErrorevent), every editor currently using the doc is iterated over and sent the event.enableContentCheckoption should be set here, it has no effect if passed to the extension.See Collaboration for more info and useTestDocumentApi for an example of how to use it.