Loading
Upcoming Mandatory Changes to Public Key Infrastructure (PKI)Read More
Agentforce and Einstein Generative AI
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Understand the Block Editor

          Understand the Block Editor

          Explore the Block Editor to experience a structured, visual authoring interface for prompt templates. Learn how its features compare to the classic plain-text editor.

          Required Editions

          Available in: Lightning Experience
          Available in: Enterprise, Performance, and Unlimited Editions with the Einstein for Platform, or Einstein or Agentforce for Sales or Service add-on, or Agentforce Foundations

          The Block Editor is a visual authoring interface for prompt templates that replaces the classic plain-text editor. Instead of writing prompts as continuous text, you build them using structured blocks that can contain text, conditionals, resource references, and instructions. The Block Editor combines visual structure with powerful keyboard shortcuts to streamline your authoring workflow.

          Consider these key benefits.

          • Visual organization - See your prompt structure at a glance with distinct blocks.
          • Keyboard efficiency - Navigate and edit without using your mouse.
          • Quick insertion - Use slash commands (/) to add blocks and @ to add resources.
          • Copy/paste support - Duplicate blocks and move content easily.
          • Structured conditionals - Add if/else logic without writing raw syntax.

          Compare the Block Editor to the Classic Editor

          The Block Editor provides a structured authoring experience compared to the classic plain-text editor. Review these differences between the Block Editor and the classic plain-text editor.

          Feature Classic Editor Block Editor
          Content Structure Plain text Visual blocks
          Conditionals Not supported Visual conditional blocks via the / command
          Resources Manual field names @ picker with autocomplete
          Navigation Click to position cursor Arrow keys (↑ ↓) between blocks
          Copy and Paste Text only Blocks with formatting preserved
          Keyboard Shortcuts Limited (Save only) Full shortcuts for all actions
          Slash Commands Not available / for quick block insertion
          Selection Text selection only Multi-block selection with Ctrl+a or Cmd+a
          Note
          Note Existing templates remain in the classic editor. New templates automatically use the Block Editor when enabled. You can continue using both editors based on your preference.
           
          Loading
          Salesforce Help | Article