This is a migrated thread and some comments may be shown as answers.

Not able to include new font to the FontNames dropdown in RadEditor

4 Answers 59 Views
Sharepoint Integration
This is a migrated thread and some comments may be shown as answers.
Syed
Top achievements
Rank 1
Syed asked on 11 Jun 2012, 08:37 AM
Hi,

I am using a trial version of RadEditor SharePoint 2010 to see if it suits our project needs. I actually wish to replace the existing HtmlEditor in SharePoint Wiki with telerik RadEditor.

Our company standard font is "Avenir-Medium" and I am supposed to show this font in the "FontNames" dropdown of the RadEditor. I included the fontname in the ToolsFile.xml available at the below location of all our WFE servers.
My local desktop also has Avenir-Medium font installed. Still I am not able to see the new font in the FontNames dropdown. Could you please let me know if I am missing any configurations.

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\wpresources\RadEditorSharePoint\6.3.1.0__1f131a624888eeed\Resources\ToolsFile.xml

<fontNames>
<item name="Arial" />
<item name="Calibri" />
<item name="Comic Sans" />
<item name="Courier" />
<item name="Garamond" />
<item name="Georgia" />
<item name="Impact" />
<item name="Lucida Console" />
<item name="Palatino Linotype" />
<item name="Times New Roman" />
<item name="Trebuchet MS" />
<item name="Verdana" />
<item name="Avenir-Medium" />
</fontNames>


Thanks,
Syed

4 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 13 Jun 2012, 03:39 PM
Hello,

Could you please clarify what the exact problem is? Is the font item not populated at all in the Font Name dropdown OR the font item is populated but the applied font tag to the selected content does not look like Avenir-Medium?

I tested the provided ToolsFile configuration and the Avenir-Medium font item was populated without problem in the dropdown as shown in this video: http://screencast.com/t/zNZ8beMqoV.

Kind regards,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Syed
Top achievements
Rank 1
answered on 15 Jun 2012, 09:15 AM
Hi,

Thanks for your reply.
This is what I am doing.

  1. Create an EnterPrise wiki site in SharePoint 2010. The Pages library in this wiki site allows us to create wiki pages.
  2. Create another Wiki Library in the same site with the name IMS.
  3. Follow all the steps properly to add the new font "Avenir-Medium" to the ToolsFile.xml 
  4. Edit a page created in the Pages library of the wiki site. The RADEditor looks perfect with the new font also appearing in it. See image "Image2.png".
  5. Now edit a page in the wiki library "IMS". The RadEditor here looks as shown in the attached image "Image1.png". You can notice that the "Avenir-Medium" font is not loaded as well as number of RADEditor icons shown at the top is less when compared to those in "Image2.png".

I need to make the RADEditor in the wiki page in IMS library also to behave like RADEditor in the wiki page of the pages library.

Thanks,
Syed
0
Syed
Top achievements
Rank 1
answered on 18 Jun 2012, 08:54 AM
Hi,

My company has bought the license for this control now. Could you please help in fixing the issues mentioned in this ticket soon.

Thanks,
Syed
0
Rumen
Telerik team
answered on 18 Jun 2012, 10:41 AM
Hello,

If the toolbars of the two editors are different, this means that they read different ToolsFile files. My suggestion is to update the contents of both ToolsFile.xml and ListToolsFile.xml files placed in the folder and test again.

\Program Files\Common Files\Microsoft Shared\Web Server Extensions\wpresources\RadEditorSharePoint\6.3.1.0__1f131a624888eeed\Resources

Kind regards,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Sharepoint Integration
Asked by
Syed
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Syed
Top achievements
Rank 1
Syed
Top achievements
Rank 1
Share this question
or