I am trying to get the html editor to default to 16px font size rather than the 13. I can set the style on my page doing this
.rz-html-editor-content {
font-size: 16px !important;
}
but that's not what I need, I want set the font size so any text that gets added to the box gets the proper size tags
Hi @anthonyh650,
This isn't supported. You can however apply the font-size CSS on the container element that would display the HTML entered by the user via RadzenHtmlEditor.
For example:
<style>
.html-content, .rz-html-editor-content {
font-size: 16px !important;
}
</style>
<RadzenHtmlEditor @bind-Value=@html />
<div class="html-content">@((MarkupString)html)</div>
Thanks for the reply, I am able to do that however I need the html applied so I can save it and display elsewhere. I've got another workaround idea. Now that I know that its not supported I can stop trying so that's a win 