Constructor
new EmailTemplateEditorController()
Methods
buildToolbar()
Build custom toolbar with variable insertion button
getValue()
Get the editor content
insertVariable()
Insert a variable at the current cursor position
renderPreview()
Render preview with variable highlighting
renderVariableButtons()
Render variable insertion buttons
setValue()
Set the editor content
showVariableMenu()
Show variable insertion menu