This is a migrated thread and some comments may be shown as answers.

R.A.D for MOSS content cleansing

1 Answer 76 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Gavin
Top achievements
Rank 1
Gavin asked on 26 Feb 2008, 09:46 AM
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

1 Answer, 1 is accepted

Sort by
0
Accepted
George
Telerik team
answered on 27 Feb 2008, 01:56 PM
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
Tags
WebParts for SharePoint
Asked by
Gavin
Top achievements
Rank 1
Answers by
George
Telerik team
Share this question
or