R.A.D for MOSS content cleansing

2 posts, 1 answers
  1. Gavin
    Gavin avatar
    2 posts
    Member since:
    Jan 2008

    Posted 26 Feb 2008 Link to this post

    Hi, I logged a support call last week but have had no response at all within our agreed turn around time (ticket #122928).

    We would like to empower content editors of our SharePoint to insert any XHTML/Javascript they wish via the Code/HTML View of the editor.

    Currently when they try and insert script all script tags are stripped by the editor when they switch back to WYSIWYG view.

    Effectively: I need to allow content editors to enter absolutely anything they want and have it rendered to the screen exactly as it was entered. I am only too aware of the potential hazards involved with enabling users to do this, but the only content editors in this site are a trusted content development agency so the risk is minimal at best.

    Question 1: Is this possible? (If not, what can I do to make it as close as possible).
    Question 2: If possible, can this be configured in a central location and be reflected in all instances of RAD editor in my page layouts.

    Many Thanks
  2. Answer
    George
    Admin
    George avatar
    859 posts

    Posted 27 Feb 2008 Link to this post

    Hi Gavin,

    I have already answered your other support ticket. For your convenience, here is my answer:

    To allow the insertion of JavaScript tags in the RadEditor for MOSS, additional properties have to be set:

    RadEditor in WebPart:

    Set (add if not present) the AllowScripts property to true in ConfigFile.xml

    RadEditor in WCM:

    Set (add if not present) the AllowScripts property to true in ConfigFile.xml and AllowSpecialTags in the current page using SharePoint Designer. Click here for more information.

     
    SharePoint forms scenario (Lists, Wikis, Blogs, etc.)

    You cannot use Javascript in RadEditor in such scenario. In this case, RadEditor does not have control over the presentation view which means that we cannot control the output when it is not in edit mode.

    I hope this helps.

    Best regards,
    George
    the Telerik team

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

Back to Top