Skip to main content
Shared editing. Guide: Collaboration.

PptxReplica

Shared editing for decks: a session’s edits as changes for a central sequencer, and other writers’ changes written back in. Pure and browser-safe. Import from @reductoai/pptx/collab.

PptxReplica properties

PptxReplica.ack()

PptxReplica.commit()

Reads local edits since the last call and hands them to the client; returns what was read.

PptxReplica.parts()

Every part the mirror holds, for a convergence check.

PptxReplica.remote()

Another writer’s change sequenced as seq; returns the parts it rewrote.

PptxReplica.resend()

PptxReplicaOptions

Shared editing for decks: a session’s edits as changes for a central sequencer, and other writers’ changes written back in. Pure and browser-safe. Import from @reductoai/pptx/collab.

PptxEditorCollab

Import from @reductoai/pptx/collab.

PptxEditorCollab properties

PptxEditorCollab.ack()

PptxEditorCollab.apply()

PptxEditorCollab.external()

An edit made on the presentation around the editor (a script, an agent).

PptxEditorCollab.leave()

Tells the others this writer left.

PptxEditorCollab.peers()

Every other writer whose page still exists, laid out on this editor’s view.

PptxEditorCollab.publish()

PptxEditorCollab.receivePresence()

Takes another writer’s place; true when the marks changed.

PptxEditorCollab.remote()

PptxEditorCollab.resend()

PptxEditorCollab.settle()

Sends what the editor did outside apply (a host driving it directly) and its place.

PptxPresenceOptions

Import from @reductoai/pptx/collab.