Recover from a text edit conflict

Protect browser text edits when another version may have landed: preserve the draft, reopen the newest content, merge deliberately, and save once.

Last reviewed

The full-page editor for .txt, .md, and .markdown checks current file details before saving and can warn This file changed since you opened it. The viewer overlay for other readable text has no such pre-save check. Neither editor sends expected_version to make the final write atomic, so the full-page check cannot rule out a change made between that check and the upload.

Theme-aware four-step map for copying an unsaved draft, closing without saving, reopening the latest version, and merging before Save version.
The map shows manual draft-preservation and merging, required for the viewer overlay and still useful alongside the full-page editor’s pre-save conflict check. Open full-size screenshot.

Steps

  1. Stop editing when you learn another client saved the same file. If the full-page editor reports a change, choose Cancel while you review it; do not choose Overwrite automatically.
  2. Copy the full draft to a local editor or secure temporary file. The overlay keeps unsaved content only in memory. The full-page editor stores local drafts when browser storage is available, but this is neither a cloud save nor guaranteed recovery.
  3. Inspect Versions and current content. The full-page editor offers Save as copy to keep your draft in a separate file in the same folder; it then opens that copy. Alternatively, preserve the draft locally before leaving. Full-page navigation with unsaved changes offers Keep editing or Discard changes; discarding also clears its local draft.
  4. Reopen Edit against current content and merge only the intended changes. Full-page editing always fetches current bytes; for the overlay, choose Latest in the preview before reopening Edit.
  5. Choose Save in the full-page editor or Save version in the overlay. Full-page Overwrite deliberately saves the draft as a new current version after a conflict warning; it does not merge the documents. Preserve the draft on failure, and check current content before retrying an uncertain response.
  6. Reopen Versions and inspect the new Latest row, confirming it contains the accepted changes and your merged edits.

Why coordination still matters. The upload API supports expected_version and can reject stale clients with 409 version_conflict, but neither browser editor sends it. The full-page editor’s separate pre-save check is helpful, not an atomic guarantee; the overlay has no equivalent warning. Coordinate edits and inspect the final result.

Recovery after an accidental save. While a prior version remains within retention and version limits, preview it and compare it with the new latest row. Merge forward or use Restore, which creates another new version rather than deleting history.

Expected result

The final latest version contains the deliberately accepted changes, or the draft is preserved as a separate copy. You checked current content and did not treat a client-side conflict check as an atomic write guarantee.

Was this helpful?

Loading helpfulness results…

Voting saves a necessary ballot cookie for up to 180 days so you can change your answer.

Questions and replies

Ask about the steps in this guide. Questions are reviewed before publication.

Keep account details, credentials and private files out of public questions. Use private support for those.

Loading questions…

    Sign in to your Dosya account to ask a question.

    Check the outcome before you retry

    Use these shared checks when a task needs a second look.