TemplateEditor plugin (init)