I'm trying to strip some formatting of text pasted into the editor.
I'm not sure where to place change or how it should be formatted???
<property name="StripFormattingOptions">"MSWordRemoveAll, Css, Font, Span"</property>
The above does not work in the config file....
Any help is appreciated.
Thanks
I'm not sure where to place change or how it should be formatted???
<property name="StripFormattingOptions">"MSWordRemoveAll, Css, Font, Span"</property>
The above does not work in the config file....
Any help is appreciated.
Thanks
4 Answers, 1 is accepted
0
sayitfast
Top achievements
Rank 2
Iron
answered on 09 Dec 2008, 11:00 PM
The following seems to work for StripFormattingOnPaste
<property name="StripFormattingOnPaste">
<item>"MSWordRemoveAll"</item>
<item>"Css"</item>
<item>"Span"</item>
<item>"Font"</item>
</property>
But StripFormattionOptions gives me an error:
<property name="StripFormattingOptions">
<item>MSWordRemoveAll</item>
<item>Css</item>
<item>Span</item>
<item>Font</item>
</property>
0
Hi,
You need to use StripFormattingOptions and simply list the options separated with commas:
<property name="StripFormattingOptions">MSWordRemoveAll,Css,Span,Font</property>
Kind regards,
Lini
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
You need to use StripFormattingOptions and simply list the options separated with commas:
<property name="StripFormattingOptions">MSWordRemoveAll,Css,Span,Font</property>
Kind regards,
Lini
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
sayitfast
Top achievements
Rank 1
answered on 10 Dec 2008, 07:55 AM
Does that also apply to StripFormattingOnPaste?
Thanks!
Thanks!
0
Hello,
The StripFormattingOnPaste property has been deprecated and replaced by StripFormattingOptions. Since you have set StripFormattingOptions, you do not need to set StripFormattingOnPaste. I don't think the editor for MOSS will even recognize the property in the config file.
All the best,
Lini
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
The StripFormattingOnPaste property has been deprecated and replaced by StripFormattingOptions. Since you have set StripFormattingOptions, you do not need to set StripFormattingOnPaste. I don't think the editor for MOSS will even recognize the property in the config file.
All the best,
Lini
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.