Bold and Italic Should Be Strong and Em in Editor

2 posts, 0 answers
  1. mattzilla
    mattzilla avatar
    29 posts
    Member since:
    Sep 2006

    Posted 10 Aug 2008 Link to this post

    If a content region contains either a <strong> or <em> tag, when viewed in the editor, they are actually <b> and <i> (this can be determined by inspecting with Firebug), and also through the RadDomInspector.

    However, if your style sheet purposely styles <strong>s and <em>s, these styles are obviously not reflected.

    I have tested and <strong>s and <em>s are reflected correctly in the much older v6.5.0.

    Is this something that you can implement again? I don't want to have to style <b> and <i> too.



  2. Rumen
    Rumen avatar
    14421 posts

    Posted 11 Aug 2008 Link to this post

    Hi Matt,

    In order to produce identical content for BOLD and ITALIC in Internet Explorer and Firefox, RadEditor uses a content filter which converts all <b> and <i> tags to <strong> and <em> in Firefox when switching to Html mode or submitting the content. The content filter converts the <strong> and <em> tags to <b> and <i> when switching back to Design mode because the browser commands works with these tags as well as to avoid side effects and problems.

    You can disable this filter with the following code:


    You can also implement your own content filter that will convert the tags per your needs in both Html and Design modes.

    Kind regards,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top