CSS class styles

4 posts, 0 answers
  1. Ranya Hanna
    Ranya Hanna avatar
    5 posts
    Member since:
    May 2006

    Posted 21 Feb 2008 Link to this post

    Hi We currently have rad editor for moss 2007. We have created a new CSSstyle.css. We have modified the htmleditorcustomstyles.css to match our CSSstyle file. Currently we are getting all the class styles correct in the drop down menu.

    In the table wizard on the other hand we are not getting the css styles for the tables and we are getting the other class styles repeated.

    We are not sure how to show the table class styles in the table wizard.
  2. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 25 Feb 2008 Link to this post

    Hi Ranya,

    Could you please create a CssEditor.css file in the following directory
    \Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\4.5.0.0__1f131a624888eeed\RadControls\Editor

    and put your custom css classes in it. This file is not created by default when you install RadEditor for MOSS. However, if it is present, the editor will automatically load it. Note that the folder name depends on the editor version (in this case it is 4.5.0.0). Also do not forget to back up the CssEditor.css file when you uninstall/upgrade the editor.

    The classes defined in the CssEditor.css will be loaded in the Apply Class dropdown as well as the css class dropdown of the table wizard and it will list the classes for TABLE, TR, TD and all elements.

    I hope this will help you to achieve your scenario.

    Best regards,
    Rumen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

  3. Ranya Hanna
    Ranya Hanna avatar
    5 posts
    Member since:
    May 2006

    Posted 25 Feb 2008 Link to this post

    We have created the CSSstyle.css under the right directory. But the table styles don't appear under the css class dropdown of the table wizard. It only appears under class dropdown. Is there a certain sentax to use in the css file to get the table class styles to appear in the table wizard.
  4. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 26 Feb 2008 Link to this post

    Hi Ranya,

    You need to rename your css file named CSSstyle.css to CssEditor.css and put it inside the \Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\4.5.0.0__1f131a624888eeed\RadControls\Editor folder. Therefore RadEditor for MOSS will read the classes in the CssEditor.css  and load the table specific class in the TABLE wizard apply class dropdown.

    For your convenience I have attached a video demonstrating how to achieve your goal.
    I also attached my test
    CssEditor.css file.

    All the best,
    Rumen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top