Offline drafts
Keep writing without a connection. Edits sync the moment you are back.
Updated Oct 28, 2026
Edits made without a connection are kept in a local queue and replayed in order once the client is back online. Nothing to configure for the basics: turn on drafts and the client does the rest.
Enable drafts
driftbook add drafts --save
# writes drafts.config.tsHow replay works
When the connection returns, queued edits are sent oldest first. Each edit carries:
- the block it touched and its version,
- who made it and when, in device time,
- a
clientId, so retries never apply twice.
Ordering
Edits to different blocks replay in parallel. Edits to the same block keep their order, even across tabs.
Limits
A device keeps up to 5,000 queued edits. Older edits past that are merged into one.
