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

RadEditor - HTML5 support

3 Answers 115 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Piotr
Top achievements
Rank 1
Piotr asked on 14 Nov 2013, 10:39 AM
Hi,

We are using Telerik.Web.UI.dll version 2012.2.607.35.
I would like to find out if RadEditor supports HTML5.
If it does, how can I set it up ?

Thanks

Regards
Piotr

3 Answers, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 19 Nov 2013, 08:30 AM
Hello Piotr,

The RadEditor control can be used with the new HTML5 tags. Although currently there are no built-in tools and features that generate such tags, you could further customize the editor with appropriate tools.

Additional materials that could be helpful:

    1. Custom Tools;
    2. Custom ToolStrips;
    3. Custom Dropdowns;


Regards,
Ianko
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Myat
Top achievements
Rank 1
answered on 07 Mar 2014, 04:52 PM
Hi,
My company is using rad html editor version 6.2.1.0 for SharePoint 2010.
The problem is the editor automatically strip out html5 "data-section="accordion" " from <div class="section-container accordion" data-section="accordion">.
I tried to remove ConvertToXhtml but it wasn't successful.
Urgently need your help.
Thank you.
0
Ianko
Telerik team
answered on 11 Mar 2014, 09:20 AM
Hello Myat,

The mentioned attributes are not related to the HTML5 functionality. I assume they are some third-party JS widget features used for accordion creation.

Nevertheless, testing such content in a simple RadEditor control (not in SharePoint) the content is correctly preserved even with the ConvertToXhtml filter enabled. You can review this screencast for this matter.

Note that SharePoint has built-in content filters that clean, strip or modify the saved content. Unfortunately the Telerik Editor WebParts cannot control these filters and I cannot suggest you a proper approach to find a workaround to use the third-party widget in content saved in SharePoint.

Regards,
Ianko
Telerik

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

Tags
Editor
Asked by
Piotr
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Myat
Top achievements
Rank 1
Share this question
or