RadEditor for MOSS Questions

4 posts, 0 answers
  1. Marc
    Marc avatar
    21 posts
    Member since:
    Oct 2007

    Posted 04 Oct 2007 Link to this post

    [I originally posted this by mistake in the SharePoint 2003 forum; I can't see the SharePoint version numbers along the left in my browser (IE7).]

    I'm evaluating RADEditor for a client and I have some questions:
    • I want to expose a set of custom CSS Classes in the RADEditor-enabled sites, but the default RTE set in sites that are not using it.  I've set up a CSSEditor.xml file with the custom classes, but I'm still seeing all of the defaults as well.  Any way to "isolate" the two?
    • I want to be able to use the Custom Links functionality, but I can't figure out where the link information should go.  I see discussion of using ToolsFile.xml, but I'm using ListToolsFile.xml, as all of my items are in lists. [I solved this by adding a <links> section to my ListToolsFile.xml file.]
    • I also want to use the Document Manager, and limit the location that users can get links to one specific Document Library in SharePoint.  Where can I specify that library?  (It's at "\Download Documents" in my Web Application.) [I solved this by adding a <property name="DocumentsPaths"> section to my ListConfigFile.xml file.]

    Thanks much,
    M.

  2. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 05 Oct 2007 Link to this post

    Hi Marc,

    It seems that you managed to solve all but one of your problems.

    Do you want you custom styles to be available only inside the editor (authoring mode), or also when you view the list (presentation mode)? The SharePoint server uses our editor in authoring mode, so we are able to control the Css styles on the page - you can open the ListConfigFile.xml and add the CssFiles property there:

    <property name="CssFiles">
            
    <item>/_wpresources/RadEditorSharePoint/4.4.0.0__1f131a624888eeed/RadControls/Editor/CssEditor.css</item>
            <item>/_wpresources/RadEditorSharePoint/AnotherCssFile.css</item>
         
    </property>

    However, as I already said, this will only change the Apply Class dropdown list in the editor (authoring mode).

    If you want to add a Css file in presentation mode, you need to do it in some alternate way. MOSS does not load our editor control in presentation mode so we have no control over what is rendered on the page. If you want to customize the styles, you need to modify the page template itself using SharePoint Designer or add the styles to one of the css files that are already loaded. Core.css is such a file (it should be present in all pages) - \Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\1033\STYLES\Core.css


    Kind regards,
    Lini
    the Telerik team

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

  3. Marc
    Marc avatar
    21 posts
    Member since:
    Oct 2007

    Posted 05 Oct 2007 Link to this post

    Lini:

    Thanks.  Your suggestion to add the CSS file as a property in the ListConfigFile.xml rather than just to have the CSSEditor.css file in the /RadEditorSharePoint/<version number stuff>/RadControls/Editor/ directory solved the "isolation" issue (my first bullet above).

    M.
  4. Marc
    Marc avatar
    21 posts
    Member since:
    Oct 2007

    Posted 05 Oct 2007 Link to this post

    Lini:

    Sorry, I didn't address your other questions about the presentation side.  No, that's not of concern to me.  SharePoint keeps good fidelity with what we create in the RTE when it displays things.

    Thanks again,
    M.
Back to Top