Design your own content templates with custom HTML layouts, styled sections, and brand colors.
@{
var htmlTemplatesJson = JsonSerializer.Serialize(new[]
{
new { name = "Newsletter Header", html = "<div style='background:#1e293b;...'>...</div>" },
new { name = "Feature Card", html = "<div style='border:1px solid #e2e8f0;...'>...</div>" }
});
}
<richtextbox
name="customTemplatesEditor"
toolbar="full"
height="400px"
html-templates-json="@htmlTemplatesJson" />