Files
webstudio/docs/university/foundations/modes.md
Oleg Isonen ea17eaa3c4 docs: explain the complete Content Engine workflow (#6403)
## What changed

- Add the complete Content Engine video tutorial to the main guide.
- Explain the launch benefits before the step-by-step setup: file-based
content, visual MDX editing, designed templates, collection entry forms,
and MCP automation.
- Document collection entry creation and editing in Content mode.
- Explain content collection folders in the Assets guide.
- Document that shared Slots cannot be used inside Content Block
Templates.
- Add missing links between Content Engine and Content Block
documentation.

## Release documentation audit

Reviewed the shipped MDX-backed Content Block, MDX template, structured
collection entry, collection authoring, query diagnostic, publication
warning, and asset-path changes. The detailed feature docs already cover
their implementation-specific behavior. This PR fills the remaining
discovery and workflow gaps across the main Content Engine, Assets,
Modes, and Content Block pages.

## Todo

- [x] Add the launch video to the Content Engine guide.
- [x] Update the main launch value proposition and supported scale.
- [x] Document collection workflows in Assets and Content mode.
- [x] Document the shared-Slot limitation for Content Block Templates.
- [x] Review documentation impact and navigation.
- [x] Verify generated documentation remains clean.
- [x] Verify changed relative links resolve.

## Verification

- Content Engine documentation tests: 2 passed
- Generated Content Engine and MCP documentation checks: passed
- Documentation TypeScript check: passed
- Relative link check: passed
- Git diff whitespace check: passed

The repository formatter excludes these GitBook Markdown files, so the
pre-commit formatting task had no eligible targets. No fixture inputs or
generated fixture outputs are affected.
2026-09-17 10:24:49 +02:00

8.1 KiB
Raw Permalink Blame History

description, icon
description icon
Modes change the Builder’s behavior, such as previewing your site without distractions. paintbrush-fine

Modes

There are three modes:

You can change modes in the Top Bar or via keyboard shortcuts if you have sufficient permissions.

Additionally, you can open any project in Safe Mode, which disables script execution for security and troubleshooting purposes.

Mode menu with Design and Content options and their keyboard shortcuts

Design

Design mode provides the full power of the Builder. For example, you can add and style components.

Content

Content mode tailors the builder’s features to editor tasks like updating text and images, and adding templates to designer-specified regions. Text and supported props are editable only inside Content Blocks; everything outside them is read-only. This mode is ideal for team members and clients.

Allowed actions

In Content mode, the following actions can be performed:

  • Edit text content (e.g., paragraphs, headings, links, etc.) inside Content Blocks
  • Add and edit links within text inside Content Blocks
  • Upload and change images inside Content Blocks when their props are available in Content mode
  • Insert instances of templates to designer-specified regions called Content Blocks
  • Edit MDX article fields and bodies inside connected Content Blocks, with changes saved back to the source file
  • Create and edit entries in content collection folders
  • Create pages from existing Page templates, if the designer provided them
  • Edit safe page settings: page name, static path, title, description, search visibility, language, social image, and custom metadata
  • Publish the site (optional permission)

Content mode keeps structural and developer-oriented settings protected. Editors cannot create dynamic paths, change redirects, status codes, document type, authentication, page variables, or the page templates themselves.

For designers/developers

As the website designer/developer, Content mode helps you strike the balance between creating a professional website while also letting your clients/team members edit it without them breaking it or deviating from the design system.

{% embed url="https://youtu.be/hzRy45vIViY" %}

Here’s what you need to know:

  • You can try the Content mode by going to the Top Bar and changing modes.
  • Users on the Pro tier can create a Share link with “Content” permission
  • Editors can perform these actions
  • You can create templates that editors can insert with Content Blocks
  • You can connect MDX files to Content Blocks and configure collection folders so editors can create and edit complete articles visually
  • You can create Page templates that editors can use to create new pages
  • Editors can update safe page metadata, but dynamic routes, redirects, authentication, document type, and status-code logic remain under designer control
  1. Go to Share in the top bar
  2. Create a new share link
  3. Check "Content mode" option
  4. Optionally enable/disable publish permission for the client

Testing Content mode

You can quickly switch to Content mode using the mode dropdown arrow next to Design in the top bar — useful for testing what clients will see before sharing the link.

Content Block templates

Content Block templates cannot be deleted by editors. Even if all instances of a template are removed, the template itself remains available for editors to add again. Make sure templates include complete styling since editors don't have access to the Style panel.

For editors

With Content mode, you can dive right in and edit the website without feeling overwhelmed or risking any changes to the site that could cause issues.

{% embed url="https://youtu.be/0GoOe5D-hQk" %}

Here’s what you need to know:

  • You can click directly on the canvas to update text inside a Content Block. Text outside a Content Block is read-only. Want to update a title to the latest promotion? Click, type, done.

    editing content on the canvas

    Editing content on the canvas

  • Some items inside a Content Block may have settings, like images. Clicking on an image will display the settings on the right. There, you can upload a new image. Just be sure to fill in the field called “Alt” describing the image so visually impaired people can consume your site.

    image editing in content editor mode

    The image can be replaced in the Settings Panel

  • The designer must include Content Blocks for content you need to change. These are the regions where you can edit content and add templates the designer provided. See Content Block for more information.

    Adding a template
  • In a content collection, choose New entry to create an article with the form provided by the designer. Use Entry settings to edit its fields, Edit file to edit its source, or Open on canvas to edit the complete article on its configured dynamic page.

  • If the designer provided Page templates, you can create new pages from them and edit page details like name, path, SEO title, description, language, social image, and custom metadata.

  • Changes save in real time, but you must publish them before they go live. Select Publish in the top bar, choose the destinations, and publish. Publish may be unavailable if the designer did not grant publishing permission.

Preview

Preview mode hides editing capabilities so you can browse your website. Use it to test navigation, interactions, and responsive behavior on every breakpoint.

Safe Mode

Safe mode is a security and troubleshooting feature that prevents all scripts from executing in your project. This is useful when:

  • You suspect a script is causing issues or slowing down the builder
  • You need to troubleshoot problems that might be caused by custom JavaScript
  • You want to safely inspect a project before running potentially harmful code
  • You're reviewing a marketplace template or imported project

How to Enable Safe Mode

From the dashboard:

  1. Right-click (or long press on mobile) on a project
  2. Select Open in safe mode from the menu

When safe mode is active, you'll see a shield icon in the top bar indicating that script execution is disabled.

What Safe Mode Disables

  • All JavaScript in HTML Embed components
  • Custom scripts added to the project
  • Third-party scripts (analytics, widgets, etc.)

What Still Works

  • All styling and layout features
  • Component rendering
  • Text and image editing
  • Building and publishing

{% hint style="info" %} Safe mode only affects the builder preview. Published sites always run scripts normally, regardless of whether you edited the project in safe mode. {% endhint %}