Editor

How to use your site editor: Design and Code modes, per-device preview, inline text editing, the AI agent and checkpoints.

Open the editor

Each business's editor lives at /dashboard/<business>/website/edit. It opens your site's Code Workspace: the preview, the side panels and the AI agent. If your site comes from a live build, the Open editor button takes you straight there (see Live build).

Your role in the business decides whether you can change things: with read-only access you can view files, and Nimlio tells you when you don't have permission to edit them.

The editor is always shown in the dark theme, regardless of your dashboard or system theme.

Design and Code modes

The Editor mode switch has two options: Design and Code.

  • Design: you work on the preview, select elements and change text directly.
  • Code: you edit your site's files and inspect the console and build errors with developer tools.
Code mode

Code mode is labelled "Available on the Pro plan". It is available on the Pro and Enterprise plans; on other plans you see the View plans prompt.

Per-device preview

The preview shows your site in three frames side by side: desktop (1280 px wide), tablet (768 px) and phone (390 px). You can zoom in, zoom out and Fit the canvas, and move it with the Hand tool (H).

  • Open in preview mode opens one device full screen so you can interact with your site like a visitor. The shortcut is ⌘P.
  • Reload preview and Open preview in a new tab are in the preview mode toolbar.
  • If there is no preview yet, Nimlio prepares one on its own (Preparing your site preview…, under a minute). If it fails, use Retry.

If you see This is the starter, not a generated site, your site hasn't been changed yet and publishing is disabled until you change it.

Edit text directly

  1. Select the text

    In Design mode, click the text in the preview to select it, then double-click it to start editing.

  2. Type the change

    Type the new text, then press Enter or click outside the text to commit it (Escape cancels). Nimlio saves the change into your site's code.

  3. Wait for the preview

    Nimlio checks that the site didn't change in the meantime and rebuilds the preview. If the change couldn't be saved, the preview keeps what you typed and Nimlio tells you.

Text that can't be edited inline

Some text can't be edited directly. Nimlio tells you why and where to go:

Nimlio messageWhat to do
This text is computed in codeChange it in the Code Workspace or ask AI.
This text comes from your business profileEdit it in Settings.
This text comes from your catalogEdit it in Products.
This text comes from your servicesEdit it in Services.
This text comes from your team profilesEdit it in Staff.
This text comes from your galleryEdit it in Gallery.
Nimlio can't tell which copy of this text you clicked / can't trace where it comes fromEdit it in the Code Workspace or ask AI.
This text changed elsewhere / The preview no longer matches your codeReload the preview and try again.

The AI agent in the editor

The AI agent panel takes your instructions about the site. It has two modes: Build and Discuss. Enter sends the message and Shift+Enter adds a line break; you can also dictate. If you send several messages in a row they wait in a queue (Queued prompts); when the queue is full, remove one before adding another.

Every change the agent makes appears under Changes with the number of files touched and an Undo button. If a file changed after the AI edited it, that change can't be undone, and Nimlio lists the conflicting files. Wait for the AI to finish before undoing.

History and checkpoints

History gathers your site's checkpoints: the ones the AI creates, the ones you save (Save checkpoint, with an optional label) and the ones created when you publish. Nimlio keeps the latest 50 code checkpoints for this site. You can view each one's Diff, with changed, added and deleted files.

  1. Open History

    Pick the checkpoint you want to go back to.

  2. Press Restore

    This replaces the current code files. If you have unsaved changes, Nimlio shows which ones will be replaced.

  3. Confirm

    Press Restore checkpoint. Nimlio first saves a Before restore checkpoint, so you can go back.

Saving, conflicts and publishing

  • Each file's state shows as Unsaved, Saving or Conflict; if a save fails, use Retry save.
  • If a file changed in another tab, Nimlio shows This file changed outside this tab and lets you choose Keep mine, Take theirs or View diff.
  • If the editor finds edits that never got saved, it offers Recover changes so you can review them before recovering.
  • Publish puts your site online; if the build has errors, clicking it opens the build problems panel instead of publishing, so you can fix them first. More in Domains and publishing.