Search documentation of phoenix_kit

# PhoenixKitWeb.Live.Modules.Emails.TemplateEditor (phoenix_kit v1.6.19)

View Source

LiveView for creating and editing email templates in PhoenixKit admin panel.

Provides a comprehensive template editor with live preview, variable management, test sending functionality, and template validation.

## Features

- Live Preview: Real-time HTML and text preview with variable substitution
- Variable Management: Define and validate template variables
- Template Validation: Real-time validation of template content
- Test Send: Send test emails using the template
- Version Control: Track template versions and changes
- Syntax Highlighting: Basic HTML syntax awareness

## Routes

- `/admin/modules/emails/templates/new` - Create new template
- `/admin/modules/emails/templates/:id/edit` - Edit existing template

## Permissions

Access is restricted to users with admin or owner roles in PhoenixKit.

# Summary

## Functions

render(assigns)

Callback implementation for `Phoenix.LiveView.render/1`.

# Functions

# render(assigns)

Callback implementation for `Phoenix.LiveView.render/1`.