RADEditorSharePoint Apply CSS Appearing More than Once

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

    Posted 21 Jun 2012 Link to this post

    Telerik Team,

    We are using 6.3.1 version of RAD Editor for SharePoint and using the complete toolbar provided by telerik.

    Here the issue is about "Apply CSS Styles" dropdown, where the items are repeated atleast for 4 items. Attaching the document with the screenshot

    We are following the approach given in the article http://www.telerik.com/help/aspnet-ajax/moss-sp2010-css_styles.html. Had our Custom Styles defined in one of the CSS file by overriding the classes in the below file.

    /Program Files/Common Files/Microsoft Shared/web server extensions/14/Template/Layouts/1033/Styles/HtmlEditorStyles.css - Even in that case it should display twice - But it is displaying about 4 items.


  2. Rumen
    Rumen avatar
    14437 posts

    Posted 26 Jun 2012 Link to this post


    Thank you for reporting this behavior.

    We will research what is causing it and fix it if it appears related to RadEditor.

    Currently, you can render the content area of RadEditor for SharePoint 2010 as an editable iframe and set the CssFiles property to point to your own css file. Therefore only the classes defined in the css file will be loaded in the Apply Class dropdown:

    ConfigFile xml file:

    <property name="ContentAreaMode">Iframe</property>

    ToolsFile.xml file:


    The CssFiles imports a CSS file in the head of the editable iframe content area of RadEditor. This means that this property works only when the content area is rendered as an iframe. If we import a css file when the div mode is enabled this will ruin the design of the entire page, because the div content area is part of the page. The iframe is another document.

    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