Skip to main content
You can use is_preview flag to add messages, placeholder content etc. inside a template or block when previewing the page inside the editor.

Syntax

Scope

It’s accessible globally, in any template, section or block.

Example