Skip to main content

Previewing content

With the Preview feature, you can preview your front end application directly from Strapi's admin panel. This is helpful to see how updates to your content in the Edit View of the Content Manager will affect the final result.

Previewing contentPreviewing content
☑️ Prerequisites
  • The Strapi admin panel user should have read permissions for the content-type.
  • The Preview feature should be configured in the code of the config/admin file (see Developer Docs for details).
  • A front-end application should already be created and running so you can preview it.

When the Preview feature is properly set up, an Open preview button is visible on the right in the Edit View of the Content Manager. Clicking it will display the preview of your content as it will appear in your front-end application, but directly within Strapi's the admin panel:

Previewing contentPreviewing content

From the Preview screen, you can:

  • click the close button Close button in the upper left corner to go back to the Edit View of the Content Manager,
  • switch between previewing the draft and the published version (if Draft & Publish is enabled for the content-type),
  • and click the link icon Link icon in the upper right corner to copy the preview link. Depending on the preview tab you are currently viewing, this will either copy the link to the preview of the draft or the published version.
Caution

When making updates to the content, first save them before clicking on Open Preview again, otherwise your latest updates will be lost. A pop up window will warn you about this behavior.