Completed
Last Updated: 14 Nov 2014 14:46 by Elena
ADMIN
Ianko
Created on: 18 Oct 2013 12:17
Category: Editor
Type: Bug Report
0
Fix: MS Sans Serif in RadEditor's font collection should be replaced with the Sans Serif font
The MS Sans Serif font is rendered as Arial in the web environment. The correct one is Sans Serif.

Possible solution is to use the following example setup, the logic of which is to replace the MS Sans Serif font to the Sans Serif one:

<telerik:RadEditor runat="server" ID="RadEditor1" 
OnClientLoad="OnClientLoad">

</telerik:RadEditor>
<script type="text/javascript">
	function OnClientLoad(editor, args) {
		var fontNames = editor.get_fontNames();
		var fontIndex = fontNames.indexOf("MS Sans Serif");
		if (fontIndex >= 0) {
			fontNames[fontIndex] = "Sans Serif";
		}
	}
</script>
2 comments
Elena
Posted on: 14 Nov 2014 14:46
Not reproducible in Q3 2014.
Nathan
Posted on: 27 Jan 2014 19:34
I am seeing this same scenario as well. All other fonts (Arial, Courier New, Garamond, Georgia, Seoe UI, Tahoma, New Times Roman, and Verdana) are all working as expected.