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

RadEditor and SharePoint 2010

1 Answer 71 Views
Editor
This is a migrated thread and some comments may be shown as answers.
will
Top achievements
Rank 1
will asked on 10 Apr 2011, 11:15 AM
SharePoint strips certain HTML tags including <iframe> <video> etc.  Is there any easy customization in the radeditor control to stop sharepoint form stripping certain html tags.  With HTML5 video and the use of iframes to embed you tube video this is going to become more and more of an issue especially for WCM and blog use

1 Answer, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 11 Apr 2011, 10:54 AM
Hi will,

It is possible to insert tags such as iframe in WCM scenario. However you need to use SharePoint Designer in order to replace the original RichHtmlField with RadHtmlField. Review the "Using SharePoint Designer"  part of the following online help article: Using RadEditor in Web Content Management scenario.

In your case you need to add the RadHtmlField in the page and then set its AllowSpecialTags property to "true". Here is a sample of code:
<telerik:RadHtmlField FieldName="PublishingPageContent" AllowSpecialTags="true" runat="server"></telerik:RadHtmlField>


All the best,
Stanimir
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Editor
Asked by
will
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Share this question
or