Skip to main content

Previewing content Beta

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.
  • While the Preview feature is in beta, it should be enabled with the future.preview feature flag set to true in config/features (see Developer Docs).
  • The Preview feature should be configured in the code of the config/admin file (see Developer Docs).
  • 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.
✏️ Note

In the Edit view of the Content Manager, the Open preview button will be disabled if you have unsaved changes. Save your latest changes and you should be able to preview content again.