diff --git a/README.md b/README.md index 9fbaa32..5cf2bc8 100644 --- a/README.md +++ b/README.md @@ -154,7 +154,8 @@ Part of the ecommerce monorepo as the `cms-onpageeditor` submodule. Each instanc otherwise it does nothing. - `onpage-editor.js` - the editor. -Entering/leaving edit mode: open any page with `?cms_preview=1` (sets the cookie, strips the param, reloads so the edge serves the +Entering edit mode on a deployed site: open **`/edit`** or **`/edit/`** (the edge, `deploy/nginx.conf`, sets the cookie and redirects +to the page). Entering/leaving edit mode: open any page with `?cms_preview=1` (sets the cookie, strips the param, reloads so the edge serves the live render) and `?cms_preview=0` to leave. Dev: `make dev` rebuilds both into the instance's `public/` (`npm run build:watch`, `CMS_ONPAGE_OUT`). The shared `@k6n/cms-editor` sources are found at `../backoffice/web/packages/cms-editor/src` (submodule layout), `../ecommerce/...` (standalone checkout), `.cms-editor/` (Docker) or `CMS_EDITOR_SRC`.