@witchcraft/editor
    Preparing search index...

    The per-document collaboration state. Everything the plugins and bridge wiring need lives here.

    Created by createCollaborationPlugins.

    type Bridge = {
        binding: ProsemirrorBinding;
        fragment: Y.XmlFragment;
        isPushing?: boolean;
        pushFromPM: (doc: unknown) => void;
        undoManager: Y.UndoManager;
        yDoc: Y.Doc;
    }
    Index
    binding: ProsemirrorBinding
    fragment: Y.XmlFragment
    isPushing?: boolean

    Set synchronously around pushFromPM's transact so the observer can skip our own pushes (transact is synchronous, so no async race).

    pushFromPM: (doc: unknown) => void
    undoManager: Y.UndoManager
    yDoc: Y.Doc