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

Stipping Styles from Editor

2 Answers 36 Views
Editor
This is a migrated thread and some comments may be shown as answers.
chad
Top achievements
Rank 1
chad asked on 10 Dec 2008, 09:45 PM
Hello all,
 I know about cleaning the word documents on paste and have that working fine, but there are still styles that are in the coding area.  Is there a way to strip all styles from the code so that it leaves just <p> and header tags?

Thanks in advance.

2 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 12 Dec 2008, 03:58 PM
Hi Chad,

Have you tried to set the StripFormattingOptions property to Css or MSWordRemoveAll,Css, e.g.

<telerik:radeditor runat="server" StripFormattingOptions="MSWordRemoveAll,Css" ID="RadEditor1"></telerik:radeditor>

This setting should remove the css formatting from the pasted content.

If you still experience any problems, please open a support ticket and send sample content and steps to reproduce the problem.

Best regards,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
chad
Top achievements
Rank 1
answered on 12 Dec 2008, 04:21 PM
awesome, i will try it out, thanks!
Tags
Editor
Asked by
chad
Top achievements
Rank 1
Answers by
Rumen
Telerik team
chad
Top achievements
Rank 1
Share this question
or