add Custom fonts to the font list of the editor


Hi
Is it possible to add fonts to the font list of the editor? Custom fonts from inside the server

3 Replies 1 reply marked as answer

IS Indrajith Srinivasan Syncfusion Team December 22, 2020 12:58 PM UTC

Hi Yeadam, 
 
Greetings from Syncfusion support, 
 
We have validated your reported query. Yes, you can add the default font in the Rich Text Editor. Using the <e-richtexteditor-fontfamily> tag configuring its necessary items, with its corresponding font value. Check the below documentation for reference. 
 
 
Please let us know if the solution helps, 
 
Regards, 
Indrajith


YE yeadam December 23, 2020 01:07 AM UTC

thank you

I read the documentation but did not know where to put the fonts.
For example, I have the following font
myfont.ttf
myfont.woff
...
I added the names of these fonts to the editor according to the documentation, but where should I put the font files to make it work properly?


IS Indrajith Srinivasan Syncfusion Team December 23, 2020 11:34 AM UTC

Hi Yeadam, 
 
Good day to you, 
 
We have validated your reported query. You can load the corresponding font-family externally in the sample, and bind the corresponding font value to the value property. Check the below shared link for reference. 
 
 
 
Regards, 
Indrajith 


Marked as answer
Loader.
Up arrow icon