Do you want to add this font to the Content Block editor, or globally for the whole site? Modifying the AppearanceConfig.config and providing custom toolsfile is not enough - you need to map the template for the Content Block editor. Please find below instructions on how to do this.

1. Create a file, for example ContentBlockTmp.ascx in a directory, let's say Templates:

EditorToolsConfigurationKey="toolsFile"> <%--This key has to be the same as the key you add in AppearanceConfig.config--%>

</sf:HtmlField>

</div>

<scripttype="text/javascript">

$("body").addClass("sfContentBlockDesigner");

</script>

2. Modify the contents of file AppearanceConfig.config (App_Data\Sitefinity\Configuration\) to include the relative location of the toolsFile and the EditorToolsConfigurationKey specified in the above template . Add the following inside:

<editorConfigurations>

<addvalue="~/Templates/EditorToolsFile.xml"key="toolsFile"/> <!--This key has to be the same as in your template-->

I followed these directions for Sitefinity 4.1, but the fonts I added are still not showing up in the Content Block Editor.

Update: I got it to work by using the Control code in this post:
http://www.sitefinity.com/devnet/forums/sitefinity-4-x/general-discussions/4-1-upgrade-issue-4-0-custom-content-designer-no-longer-works.aspx

However, All I really wanted to do was add a font to the drop down in the Editor, but I had to use a custom ToolsFile.xml. Would it be possible for you to post the default ToolsFile.xml for Sitefinity 4.1 so the look and feel of the Editor window stays the same, but I can add a font?

Please find attached the Standard configuration for the ToolsFile we're using. If you need any further assistance, please write back.

Regards,
Boyan Barnev
the Telerik team

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

We introduced several changes in the template for HtmlField, and that's why the provided sample might not work on Sitefinity 4.1 Please follow the updated steps below:
1. You need to map the template for HtmlField, to do this use the provided below template:

Please note several things:
First, you will need a codefile specified, where you will set the custom ToolsFile for the Editor (in my caseCodeFile="~/Controls/EditorTemplate.ascx.cs).
Second, you need to specify the styles you'll be using declaratively like I've done inside a <style> tag in the template.
Next step is to create a codefile where you point the Editor control to the location of your custom ToolsFile

usingSystem;

usingSystem.Collections.Generic;

usingSystem.Linq;

usingSystem.Web;

usingSystem.Web.UI;

usingSystem.Web.UI.WebControls;

namespaceSitefinityWebApp.Controls

{

publicpartialclassEditorTemplate : System.Web.UI.UserControl

{

protectedvoidPage_Load(objectsender, EventArgs e)

{

editControl.PreRender += newEventHandler(editControl_PreRender);

}

voideditControl_PreRender(objectsender, EventArgs e)

{

editControl.ToolsFile = "~/Controls/EditorTools.xml";

}

}

}

2. Please find the default ToolsFile we're using for the Editor, and note the tool I've added - ApplyClass, this is what you need to display the ApplyCSSCLass dropdown in the editor toolbar area.:

3. Once you have built the project, go to Sitefinity Backend -> Administration->Settings->Advanced->Controls->ViewMap and create and click on the Creae new button.
Fill in the fields accordingly (all without the quotes):HostType: "Telerik.Sitefinity.Web.UI.Fields.HtmlField" LayoutTemplatePath:"relative path to the template where you have declared HtmlField control"

Restart the application and you should have the ApplyCSSClass tool in the toolbar area of the texteditor throughout the website. If you wish to add some more custom CSS files, please take a look at this article from our RadEditor documentation.
If you need any further information, please do not hesitate to write back.

Best wishes,
Boyan Barnev
the Telerik team

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

We have answered you in the support ticket you have opened. I will share our answer with the community.

We have found an easy way for adding fonts for Content editor. Please check the attached video that we have recorded for demonstration. Keep in mind that the default fonts will be removed and you will be able to see only the fonts that are added.

Regards,
Stefani Tacheva
Telerik

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items

Due to our editor being based on the RadEditor control, the changes needed to be made to include Fonts are the same as the ones on the base control, so a good source of information is also RadEditor's documentation on this:

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items

Webinars

Tools

Progress, Telerik, Sitefinity and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries.