Deprecated tags

2 posts, 0 answers
  1. USI
    USI avatar
    26 posts
    Member since:
    Oct 2009

    Posted 12 Jan 2012 Link to this post


    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
  2. Rumen
    Rumen avatar
    14431 posts

    Posted 13 Jan 2012 Link to this post


    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,
    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
Back to Top