Dollie Editor SDK guide

Save Conflicts

Handle stale page revisions without losing local work.

A RevisionConflictError means the submitted revision is older than the current stored document.

Do not automatically reload the page.

Instead:

  1. preserve the local serialized definition;
  2. load the current server document separately;
  3. explain that another save occurred;
  4. offer the host's compare, retry, or discard workflow.

If conflicts happen on every save, confirm that the latest returned revision is stored after a successful save and sent with the next one.