Codex
?
Help

Saved drafts

A saved draft is a copy of a whole story at one moment that you can always go back to: "this is the first draft, and I want to keep it". It holds every chapter and scene, the story's notes, and the characters, places, and lore of the universe exactly as they were. A saved draft never changes after you save it. You keep writing in the working draft, which is the story you edit every day.

Saving a draft

Open the story's settings and pick "Saved drafts", or choose "Saved drafts" from the story's menu in the path at the top of the window. The name is filled in for you ("First draft", then "Second draft", and so on). Keep it or type your own, such as "Sent to the editor", add a note if you like, and select "Save draft". Scenes in the story's deleted list are not included.

You can save as many drafts as you want.

A saved draft does not keep review comments or suggestions. To start a fresh round of feedback after saving one, use "Clear review notes..." in review mode (see reviewing).

Switching between drafts

Once a story has a saved draft, the path at the top of the editor shows "Working draft" after the story's title. Select it to open any saved draft, to go back to the working draft, or to save another one. In the library, a story with saved drafts has a "Drafts" button on its card with the same choices. In the table view, a link under the title opens its saved drafts.

A saved draft opens to read only. A banner at the top says so, and "Back to the working draft" takes you back to writing. The tabs under the banner show the story, the worldbuilding (with how often each name comes up in that draft), and the story's notes, all as they were when you saved.

Comparing drafts

The Compare tab on a saved draft shows what changed across the whole story. Pick the working draft or another saved draft under "Compare with". It always reads from the older version to the newer one: a summary of how many scenes changed, were added, or were removed, and how the word count moved, then any chapters that were renamed or moved, then a card for each of those scenes. A scene counts as changed when its text, title, summary or status changed, or when it moved to another chapter or to another place in its chapter. Open a card to see its text and what else changed. In a changed scene, green text was added and red, struck-through text was taken out.

Getting text back from a draft

Each scene in a saved draft says whether it is the same as in the working draft, has changed since, or is no longer there.

  • Compare with working draft shows what changed in that scene since you saved the draft. Green text was added later. Red, struck-through text was taken out.
  • Restore this scene puts the saved text back into the scene in the working draft. The text it replaces stays in that scene's History, so you can undo it from there.
  • Add back to working draft makes a new scene with the saved text when the scene was deleted since. It goes into its old chapter if that chapter still exists. If the scene is still in "Deleted scenes", the draft says so: restore it from there to keep its history, since adding it back here makes a second copy.

To go back to the whole story as it was, select "New story from this draft". This makes a new story in the same universe from the saved draft, and leaves the current story as it is. The universe's characters, places, and lore are shared, so the new story uses them as they are now.

Publishing a saved draft

If you can publish stories, you can publish a saved draft instead of the working draft. Select "Publish this draft" on the draft, or pick it under "What to publish" in the story's Publish settings. The public page uses the draft's prose, title, and description.

Renaming and deleting

In "Saved drafts" in the story's settings, select "Rename" to change a draft's name or note, or "Delete" to remove it for good. Deleting a draft does not change the working draft, or any edition you published from it. Deleting the story deletes its saved drafts too.

Exporting

When you export the story or your whole account as markdown, each saved draft comes along in its own folder under drafts/, with its scenes, notes, and worldbuilding. Importing a story export brings back the working draft only, not its saved drafts.