Content Editing
Edit your saved NPCs, encounters, plots, and maps — inline, in a stat block editor, or through chat refinement.
Quick Answer
Edit any saved NPC, encounter, plot, or map without regenerating from scratch. Open an item from your Content Library to tweak fields inline, use the stat block editor for structured edits, roll back to a previous version, or ask the chat assistant to refine it.
CritForge lets you edit any piece of generated content directly from its detail page — no need to regenerate from scratch. You can tweak individual fields inline, open a dedicated stat block editor, roll back to a previous version, or ask the chat assistant to refine something for you.
Opening saved content
All content you've generated lives in your Content Library, accessible from the dashboard sidebar. Click any item to open its detail page. From there you'll see the full output alongside editing controls.
- NPCs — full stat block, personality, plot hooks, and campaign associations
- Encounters — name, difficulty, and enemy group counts
- Plots — title and narrative content
- Maps — metadata and campaign association (visual edits happen in the map editor)
Editing fields inline
On the NPC and encounter detail pages, most fields support quick inline editing without opening a separate form.
To edit any field:
- Hover over the field — a pencil icon appears to the right.
- Click the field or the pencil icon to enter edit mode.
- Make your change.
- Press Enter or click the checkmark to save, or press Escape (or click the X) to cancel.
Fields that validate against D&D 5e rules will show a red border and an error message if the value is out of range. Yellow warnings let you know a value is unusual but still allow saving.
What you can edit inline:
| Content type | Editable fields |
|---|---|
| NPC | Name, ability scores, AC, HP, challenge rating, proficiency bonus |
| Encounter | Name, difficulty, enemy counts (+ / - buttons per group) |
If you navigate away with unsaved changes, your browser will prompt you to confirm before leaving.
Editing the full stat block or personality
For NPCs, two modal editors give you a complete view of all fields at once rather than editing one at a time.
- Edit Stat Block — opens a form for all numeric stats (ability scores, AC, HP, CR, proficiency)
- Edit Personality — opens a form for traits, ideals, bonds, and flaws
Inside a modal editor:
- Press Cmd/Ctrl+S or click Apply to save all changes.
- Press Escape or click Cancel to discard and close.
The stat block editor validates each field against D&D 5e limits before allowing you to save.
Auto-save and draft recovery
While you're editing, CritForge automatically saves a local draft to your browser every 30 seconds. This draft is only on your device — it's not synced to the server until you explicitly save.
If your browser crashes or you accidentally close the tab:
- Open the same content page again.
- A banner will appear: "Restore unsaved changes?"
- Click Restore to pick up where you left off, or Discard to start fresh.
Drafts expire after 24 hours. If you're using your browser's private/incognito mode, local storage may be unavailable and the draft banner won't appear.
Version history
Every time you save a change, CritForge creates a new version automatically. You can browse the full history and restore any earlier version from the Version History panel (clock icon in the sidebar).
Each version entry shows:
- A version number (v1, v2, v3...)
- A title and timestamp ("3 hours ago")
- Whether it's the current version
To restore a previous version:
- Open the Version History panel.
- Find the version you want — use Load older versions if you need to go further back.
- Click Restore this version.
- Confirm in the dialog that appears.
After a restore, the restored version becomes the new current version. You have a short window to undo if you restore by mistake — watch for the undo toast notification.
There's no in-page undo/redo stack. Version history is the way to step back to an earlier state.
Using chat to refine content
The chat panel — available on every content detail page — is the fastest way to iterate on generated content without spending full regeneration credits.
A chat refinement costs 1 Generation Power (GP). A full regeneration costs the standard GP amount for that content type (shown in the hint below the chat input). Refinement is the better choice when you like the overall output but want to adjust a specific detail.
Examples of effective refinement requests:
- "Make this NPC's personality more sinister and less verbose."
- "Add a second plot hook that ties to a thieves' guild."
- "Change the encounter difficulty to Hard and explain why."
- "Rewrite the villain's backstory to take place in a coastal city."
The chat assistant understands the content you're currently viewing and applies changes in context. It won't replace the entire output — it adjusts the part you asked about.
After a refinement, review the updated content on the page. If the result isn't right, you can refine again or restore a previous version.
Associating content with a campaign
On NPC and encounter detail pages, you can attach content to a campaign so it's organized and easy to find during session prep.
- Click Add to Campaign and select a campaign from the dropdown (search if you have many).
- A badge appears confirming the association.
- To remove it, click the badge and select Remove from Campaign.
You can also create a new campaign directly from the dropdown if you don't have one set up yet.
Troubleshooting
I can't see the pencil icon to edit a field. Make sure you're hovering directly over the field text. On mobile, tap the field to enter edit mode — hover doesn't apply.
My changes aren't saving. Check the error message below the field — a red border means the value is outside the allowed range. Fix the value and try again.
The draft restore banner didn't appear. Drafts expire after 24 hours, or may not be available in private/incognito mode. If the banner doesn't appear, the draft likely expired or wasn't saved.
Version history shows nothing. Version history is per-content-item and starts from your first manual save. Content that was only generated and never edited may not have prior versions.