RadEditor: It is impossible to cancel underline.

2 posts, 0 answers
  1. Friar
    Friar avatar
    1 posts
    Member since:
    Oct 2011

    Posted 20 Oct 2011 Link to this post

    It is impossible to cancel underline to part of text(and all) which was pasted from Word.
    <span style="text-decoration: underline; font-size: 12pt; font-family: cambria;">Text Text</span>
  2. Rumen
    Rumen avatar
    14466 posts

    Posted 24 Oct 2011 Link to this post

    Hello Friar,

    RadEditor uses the execCommand method and the built-in browser'sUnderline command to apply or remove underline formatting to / from the selected content. This browser command however works only for <u> tags, but not with inline "text-decoration: underline;" css style attributes. RadEditor uses the browser's Underline command because in other case there could arise problems with selections, nested tags and not well formed HTML content.

    Kind 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