HtmlEditor override defaults RadzenHtmlEditorFontSize

Hello,

is it possible to override built-in font-sizes values in RadzenHtmlEditorFontSize to have only 7px and 13px in dropdownlist, for RadzenHtmlEditorFontName i can specify fonts but for font sizes no…

<RadzenHtmlEditorFontName>
    <RadzenHtmlEditorFontNameItem Text="Avenir" Value="'Avenir'" />
</RadzenHtmlEditorFontName>
<RadzenHtmlEditorFontSize>

But not with font-sizes

thank you

Julien

Hi @Julien_Duprat,

This isn't supported I am afraid as the underlying API requires specific values.

Thank you for your answer, but i just want to set 7px and 10px on font size values instead of default values of radzen : 10px, 13px, 16 px, 18 px, 24 px, 32 px, 48 px, i just want to reduce to 7p x and 13 px.

My answer remains the same. Those values are not from the supported list to begin with. You can probably create a custom tool if you want those specific values and hide the default font size tool.

1 Like