CSS classes in RadEditorSharePoint 5.3.1.0

2 posts, 0 answers
  1. Mikko Koskinen
    Mikko Koskinen avatar
    1 posts
    Member since:
    Oct 2009

    Posted 02 Oct 2009 Link to this post

    I would like to use an custom ToolsFile.xml to handel the css style classes showed in RadHtmlField control. I have changes to ToolsFile.xml. I added the following lines to the end after </tools> tag.

    </tools>
      <classes>
        <class name="Clear Class" value="" />
        <class name="Links Class" value="a.link" />
        <class name="Images Class" value=".img" />
        <class name="My Red Text" value=".redText" />
      </classes>

    But now when I go to the edit mode of the page there is only the Clear Class in the menu. Nothing more.

    What I'm I doing wrong? What is the best way to have you own css classes in the drop down menu? So that nothing else than your own classes are shown.
  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 05 Oct 2009 Link to this post

    Hello Mikko,

    Create a CssEditor.css file in the /Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/5.x.x.0__1f131a624888eeed/Resources/ and define your custom classes there.

    You can find more information in the following help article.
    1. Defining custom CSS styles.
    2. External CSS Files (review the ToolsFile.xml sections).

    I hope this helps.

    Greetings,
    Stanimir
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.

Back to Top