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

[Solved] Anyway to ignore the font on pasted text?

1 Answer 97 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 19 May 2008, 08:06 PM
I need everything that gets entered via the Editor to have a consistent font. I've removed the font selection menu, but if someone pastes text using a different font, I need to be able to get rid of it. Is this possible?

Bill

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 20 May 2008, 09:48 AM
Hi Bill,

You can strip the font and style tags or the whole HTML markup when pasting the content by setting the
StripFormattingOptions tag to Font, Span,Css, All or AllExceptNewLines, e.g.

<telerik:RadEditor
   
runat="server"
   
ID="RadEditor1"
   
StripFormattingOptions="Font, Span, Css">
</
telerik:RadEditor>

You can find more information about this functionality in the following article: Cleaning Word Formatting.

Best regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Editor
Asked by
Matt
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or