Editor RadEditorHtmlInspector module not consistent with HTML view

2 posts, 0 answers
  1. Blair
    Blair avatar
    23 posts
    Member since:
    Jun 2012

    Posted 18 Feb 2015 Link to this post

    If you use the RadEditorHtmlInspector module and compare its HTML to the HTML view they are not consistent. Font styling is not consistent. In HTML view a span tag with style attributes is presented. However, the HTML module shows <FONT> tags. It almost seems like the module does not use the content filters.

    I believe this is a bug and just looking for confirmation. 

  2. Ianko
    Ianko avatar
    1956 posts

    Posted 23 Feb 2015 Link to this post

    Hello Blair,

    This is not a bug, it is due to the ConvertFontToSpan. When switching to HTML mode, font elements are replaced with span ones. In Design - span to fonts. The RadEditorHtmlInspector shows the content of the Design and it is not designed to correspond to the HTML mode.

    You can just disabled the ConvertFontToSpan content filter to prevent the conversion. You can see how in the Content Filters article.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top