@witchcraft/editor
    Preparing search index...
    interface CollaborationOptions {
        _destroySyncPlugin?: () => void;
        fragment?: YXmlFragment | null;
        onFirstRender?: () => void;
        ySyncOptions?: YSyncOpts;
        yUndoOptions?: {};
    }
    Index

    Properties

    _destroySyncPlugin?: () => void
    fragment?: YXmlFragment | null

    A raw Y.js fragment, can be used instead of document and field.

    new Y.Doc().getXmlFragment('body')
    
    onFirstRender?: () => void

    Fired when the content from Yjs is initially rendered to Tiptap.

    ySyncOptions?: YSyncOpts

    Options for the Yjs sync plugin.

    yUndoOptions?: {}

    Options for the Yjs undo plugin.