We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Any way to add new fonts to RTE

Thread ID:





118953 Apr 27,2015 11:13 PM UTC Apr 30,2015 12:20 PM UTC ASP.NET MVC 1
Tags: RichTextEditor
Erdem Isikdogan
Asked On April 27, 2015 11:13 PM UTC


Are there any way to include new fonts in RTE to the defaults?

I could not find any documentation for this.

Thanks for your helps.


Saranya Sivakumar [Syncfusion]
Replied On April 30, 2015 12:20 PM UTC

Hi Erdem

Thanks for using Syncfusion products.

We would like to let you know that we can add new fonts by using the Custom Tool option in RTE control. But we cannot add or edit the default font options present in the RTE control. CustomTool is used to add any controls additionally in the RTE control. We have to create a list and assign it to the ToolsList API which is used to set the ToolsList in RTE as shown in the following code snippet.


@{List<String> toolsList = new List<string>() { "customTool" };


Your RTE content...</p>).ShowFooter(true).ToolsList(toolsList).Tools(tool => tool).CustomTool(custom =>


After setting ToolsList we have to add custom tool to the RTE as highlighted above. Then we have to render Dropdownlist in the create event of RTE control as shown below.


function onCreate() {

var ddl = $("#codeInsert");


var ddltarget = $('#selectCar')



targetID: "carsList",

width: "200px",

select: "select"




After rendering Dropdownlist in the RTE control we have to set the new fonts as the Dropdownlist items by appending the font face style tag with the RTE value as shown in the following code snippet.


var obj = $("#rteSample").data("ejRTE");

var content = obj.option("value");

obj.option("value", "<font face=Times Roman" + content + "</font>");


We have to set the font in the select event of the Dropdownlist control. For your convenience we have prepared the sample based on your requirement and it can be downloaded from the following location.


Also we are having an online documention for custom tool option and it can be found under the following link.


Please let us know if you have further concern.




This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon