Ideas

Give us your best ideas!

 

Merged idea

This idea has been merged into another idea. To comment or vote on this idea, please visit PL-I-317 Preview a product page before publishing.

Add better support for detecting if in a preview Merged

Today when in a preview for a page which is live with a cookie banner of some sort the cookie banner takes up the entire preview image of a block or a page. This is annoying and eliminates the purpose of previews in a live environment.

If we somehow could better detect when in a preview or not (for example using nextjs draftMode). W could better get benefits by disabling stuff which is not necessary for a preview. Either using Next.js draftMode or by doing something else (such as sending a special header with a token we can identify like with LITIUM_CLOUD_TOKEN).

  • Christian Norrman
  • May 18 2025
  • Not right now