Draft mode
Draft mode is a way for a site to show unpublished content to editors, such as a draft post in a CMS, while visitors keep seeing only what has been published.
Updated
On this page
What it is
Frameworks and CMSs implement it differently. Next.js has a built-in Draft Mode that switches a request to preview data with a cookie; many headless CMSs offer a separate preview API or a draft perspective that returns unpublished changes.
The point is the same: check how a change looks on the real page before anyone else can see it.
In Xodia
In Xodia, everything you change is saved in Xodia as you go and stays off your branch until you push it, and off your live site until you deploy. For content in a headless CMS, edits from the Content tab stay drafts in the CMS until you publish them there.
Xodia's draft pages skill also keeps whole pages in draft: visible in Xodia's preview, left out of the live site until you publish them. The CMS stack packs tell your AI how to wire the CMS's own preview.
Read more
Related terms
- Headless CMSA headless CMS stores and serves content through an API without deciding how it looks, so any site or app can fetch the content and render it in its own design.
- Preview deploymentA preview deployment is a temporary, private copy of a website built from a branch or pull request, so changes can be checked at a real address before they go live.
- Restore pointA restore point is a saved state of a website you can go back to in one step if a later change goes wrong.