Skip to content

CollabEditor

type CollabEditor = Pick<EditorHandle, "getState" | "setState" | "onTransaction">;

Defined in: collab.ts:42

The minimal editor surface a Collaborator drives. AgnosticEditor (and the core EditorHandle) satisfy it structurally, so you can pass an editor handle directly. Kept narrow so the collab layer never depends on the renderer.