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

Deprecated tags

1 Answer 39 Views
Editor
This is a migrated thread and some comments may be shown as answers.
USI
Top achievements
Rank 1
USI asked on 12 Jan 2012, 11:26 PM
Hi,

Is it possible to force the editor to use span tags with respective styles instead of deprecated tags without using the content filters? What I want to do is for example when selecting text and press the strike button instead of:

 <strike>selected text</strike>

use directly:

<span style="text-decoration: line-through">selected text</span>


Or is there any way to keep the editor selection between requests??

Thanks in advance,
Michael Pinheiro

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 13 Jan 2012, 05:26 PM
Hello,

You should enable the ConvertToXhtml and ConvertFontToSpan filters, which will validate the content and make it XHTML. These filters are enabled by default, but it seems that they are disabled on your end.

You can test both filters in the following demo: Built-in Content Filters.

Best regards,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Editor
Asked by
USI
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or