Support

Account

Home Forums Gutenberg Display block differently in editor and front-end Reply To: Display block differently in editor and front-end

  • It is!

    In my template file $is_preview is true if the block is being rendered in the block editor and false if it is being rendered on the front-end.

    Yay!