Hi Stefano,
Yes, we can add custom font name in font family dropdown by using below code.
|
@using Syncfusion.Blazor.DocumentEditor;
<SfDocumentEditorContainer @ref="container" DocumentEditorSettings="@settings" Height="590px">
</SfDocumentEditorContainer>
@code {
SfDocumentEditorContainer container;
DocumentEditorSettingsModel settings = new DocumentEditorSettingsModel() { FontFamilies = new string[2] { "Roboto", "Open Sans" } };
};
|
Kindly try this solution and let us know if you need further assistance.
Note: While applying the custom fonts if the specified font is installed in client machine content rendered in applied font else content rendered with the browser default font.
Regards,
Mugunthan A