I'm looking for a way of changing the inherited font size and family using jquery/js instead of using a css file loaded when the page loads.
3 Answers, 1 is accepted
0
Accepted
Alex Gyoshev
Telerik team
answered on 25 Oct 2010, 02:30 PM
Hello Brian,
You should be able to do that after the content area has loaded (perhaps when the editor load event fires or a bit later, using setTimeout)
$($('#editor').data('tEditor').body).css('font', "20px 'Comic Sans MS'");
Hope this helps,
Alex Gyoshev
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
Thanks it solved my problem (which is mentioned in http://www.telerik.com/community/forums/aspnet-mvc/editor/how-to-set-default-font-for-the-editor.aspx )