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 |

