Visual Template Editor
SendDock's Visual Editor allows you to create professional, responsive emails without writing a single line of code. Use an intuitive drag-and-drop system to design beautiful templates in minutes.
Accessing the Editor
- Go to Dashboard → Templates
- Click "Create New Template"
- You'll be redirected to the visual editor
The editor URL is:
https://senddock.dev/dashboard/project/[projectId]/template/[templateId]
Editor Interface
The editor is divided into three main areas:
1. Sidebar (Left Sidebar)
Contains all the blocks you can drag onto the canvas:
Available Blocks:
- 📝 Text Block: Text paragraphs with formatting
- 🖼️ Image Block: Images with adjustable alignment and size
- 🔘 Button Block: Buttons with CTA (Call to Action)
- ➖ Divider Block: Horizontal separators
- 👥 Social Links: Social media icons
- 🏢 Logo Block: Your logo or brand image
- 📊 Columns: 2 or 3 column layouts
Simply drag a block from the sidebar and drop it on the canvas where you want it to appear.
2. Canvas (Center Area)
The canvas is where you build your email. Here you can:
- Drag blocks to add them
- Click any block to select it
- Use the controls on each block:
- ↕️ Move: Drag to reorder
- ✏️ Edit: Click to edit content inline
- 🗑️ Delete: Remove the block
3. Properties Panel (Right Panel)
When you select a block, the properties panel shows all customization options:
Common options:
- Padding (internal spacing)
- Margin (external spacing)
- Alignment (left, center, right)
- Background color
- Text color
- Font size
- Border style
Working with Blocks
Text Block
The text block supports rich text formatting:
Formatting options:
- Bold (Ctrl/Cmd + B)
- Italic (Ctrl/Cmd + I)
- Underline (Ctrl/Cmd + U)
- Links (Ctrl/Cmd + K)
- Lists (bulleted and numbered)
- Headings (H1, H2, H3)
- Text alignment
Handlebars Variables:
You can insert dynamic variables in your text:
These variables will be automatically replaced with the subscriber's metadata data when you send the email.
Check the complete Handlebars variables guide to see all predefined variables and how to use custom variables.
Image Block
To add images to your email:
- Drag an Image Block to the canvas
- Click on the block to select it
- In the Properties Panel:
- Upload Image: Upload an image from your computer
- Image URL: Or paste an external image URL
- Alt Text: Alternative text for accessibility
- Width: Width in pixels or percentage
- Alignment: left, center, right
Best Practices for Images:
- Use optimized images (< 500KB per image)
- Recommended width: 600px maximum
- Supported formats: JPG, PNG, GIF
- Always include Alt Text for accessibility
- Use absolute URLs (https://) for external images
SendDock does NOT automatically host images. You must upload your images to a CDN (Cloudinary, AWS S3, etc.) and use the URL in the editor.
Button Block
Buttons are perfect for Call-to-Actions (CTAs):
Button properties:
- Button Text: Button text (e.g., "View Now", "Start Trial")
- Button URL: Destination link
- Background Color: Button color
- Text Color: Text color
- Border Radius: Rounded corners (0-20px)
- Padding: Internal spacing
Example configuration:
Text: "Get Started Now"
URL: https://myapp.com/signup
Background: #667eea (blue)
Text Color: #ffffff (white)
Border Radius: 8px
Divider Block
Dividers are horizontal lines that separate sections:
Properties:
- Width: Line width (50%, 75%, 100%)
- Height: Line thickness (1-5px)
- Color: Line color
- Style: Solid, dashed, dotted
Social Links Block
Add social media icons with links:
Supported networks:
- Twitter/X
- YouTube
- GitHub
- TikTok
Properties:
- Icon Size: Icon size (20-50px)
- Spacing: Space between icons
- URLs: Link for each social network
Columns Block
Create multi-column layouts:
Options:
- 2 Columns (50/50): Two equal-sized columns
- 2 Columns (33/66): Smaller left column
- 2 Columns (66/33): Smaller right column
- 3 Columns: Three equal columns
You can drag blocks inside each column to create complex designs.
Saving Templates
Save as Draft
While working, SendDock automatically saves your progress every 30 seconds. You'll see an indicator:
✓ Saved at 3:45 PM
Save and Publish
When you finish your template:
- Click "Save Template" in the upper right corner
- Assign a name to your template:
- Use descriptive names:
welcome-email,weekly-newsletter,order-confirmation - Don't use spaces, use hyphens
-or underscores_
- Use descriptive names:
- Optionally add a description to remember its purpose
- Click "Publish"
The template name is what you'll use in the API and in broadcasts. Example:
{
"template": "welcome-email", // The name you gave it
"data": { "name": "John" }
}
Preview and Testing
Preview View
Click the "Preview" button (👁️) to see how your email will look:
- Desktop View: Desktop view (600px wide)
- Mobile View: Mobile view (320px wide)
- Tablet View: Tablet view (768px wide)
Send Test Email
- Click "Send Test Email"
- Enter your email
- Optionally add test data for variables:
{
"name": "John Test",
"company": "My Company",
"plan": "Pro"
}
- You'll receive the email in seconds
It's recommended to test in various email clients (Gmail, Outlook, Apple Mail) as each one renders HTML slightly differently.
Responsive Design
All templates created with the visual editor are automatically responsive. The system adjusts:
- Column widths (stack on mobile)
- Font sizes (slightly reduced on mobile)
- Padding and margins (adjusted for small screens)
- Button sizes (increased on mobile for better tap target)
You don't need to do anything special, the editor handles everything.
Duplicate Templates
To create a new template based on an existing one:
- Go to the template list
- Click the "Duplicate" (📋) icon
- A copy will be created with the name
[Original] Copy - Edit it like any other template
Delete Templates
Deleting a template is permanent. If any campaign or automatic sending uses it, it will fail.
To delete:
- Go to the template list
- Click the "Delete" (🗑️) icon
- Confirm deletion
Recommendation: Instead of deleting, consider renaming obsolete templates by adding the prefix [DEPRECATED] to the name.
Import HTML Templates
If you already have an existing HTML template:
- Click "Import HTML"
- Paste your HTML code
- SendDock will try to convert it to editable blocks
- Review the result and adjust as needed
Importing complex HTML may not be perfect. It's better to create templates from scratch in the editor for best results.
Template Gallery
SendDock includes a gallery of pre-designed templates to get started quickly:
- Welcome Email: Welcome email for new users
- Newsletter: Weekly/monthly newsletter template
- Product Update: New features announcement
- Order Confirmation: Purchase confirmation
- Password Reset: Transactional password reset email
- Event Invitation: Webinar or event invitation
To use a template from the gallery:
- Click "Browse Templates"
- Select a template
- Click "Use Template"
- Customize it according to your needs
Keyboard Shortcuts
| Shortcut | Action |
|---|---|
Ctrl/Cmd + S | Save template |
Ctrl/Cmd + Z | Undo |
Ctrl/Cmd + Y | Redo |
Delete | Delete selected block |
Ctrl/Cmd + D | Duplicate selected block |
Ctrl/Cmd + P | Open preview |
Esc | Deselect block |
Limitations and Considerations
Email Clients
Email clients (especially Outlook) have CSS limitations. The editor uses only compatible CSS:
✅ Supported:
- Colors
- Fonts (web safe fonts)
- Padding and margins
- Borders
- Alignment
❌ Not supported:
- Flexbox
- Grid
- CSS animations
- Position absolute
- Custom fonts (Google Fonts works partially)
Email Size
Recommendations:
- Keep total HTML < 100KB
- Use maximum 10-15 images
- Each image < 500KB
- Maximum email width: 600-650px
Lighter emails load faster and are less likely to go to spam.