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

[Solved] Change font of get_html client side script

1 Answer 117 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Rich Helferty
Top achievements
Rank 1
Rich Helferty asked on 28 Apr 2009, 07:11 PM
Is it possible to use client side script to change the font from a get_html call for the radEditor. Our client now wants all content to be the same font.

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 01 May 2009, 12:32 PM
Hi Rich,

The editor.get_html(true) method returns a string. You can manipulate the string using regular expressions and replace the fonts with the desired one. For example you can implement a content filter as it is demonstrates in this live demo: Custom Content Filters.

Kind regards,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Editor
Asked by
Rich Helferty
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or