# Turning on edit mode

URL: https://kywi-docs-production.up.railway.app/editing/turning-on-edit-mode
Type: docPage

A signed-in editor gets a persistent toolbar on any page they can write to; ?kywi-edit=1 opens straight into the editor — both require the page to be published.

Any signed-in user whose role can write to a page gets a persistent toolbar the moment they land on it — nothing to switch on first. Add `?kywi-edit=1` to the URL and the same page opens straight into the full editor instead of the toolbar.

## What the toolbar checks, and how often

The permission behind the toolbar is checked on every request, not only ones carrying `?kywi-edit=1` — an editor who is just reading a page still sees it, because the point is to make editing visible wherever it applies, not to reward a specific link. Anyone without write access to that page gets neither the toolbar nor any of the markup it would need.

## Publish is a separate permission

Being able to open the editor and being able to publish are two different checks, and a role can clear one without the other. An editor without [publish rights](/start/concepts/who-can-do-what/) still gets the toolbar and the full editor — they can rearrange, edit and save a draft — but the Publish control itself is withheld rather than shown and disabled.

## Opening straight into the editor

`?kywi-edit=1` starts the editor once, on load; landing on the same page without it opens only the toolbar. Toggling between the two writes the flag into the URL with a plain history update rather than a navigation, so reloading the page or sharing the link lands the next visitor in the same mode you left it in.

## Only a published page opens this way

The page is resolved and checked for a published status before anyone's permissions are even looked at. A draft, or a URL with nothing behind it, 404s regardless of role — there is no way to open front-of-site editing on a page that isn't live yet. Edit a draft from the admin's Layout tab instead.

## Save goes live; Save Draft waits for review

On the live page this editor opens on, Save changes what visitors see at once, while Save Draft holds the edit for review and Schedule holds it until a set time. See [Saving, publishing, and leaving the editor](/editing/saving-publishing-and-leaving-the-editor/).
