RadEditor - HTML5 support

4 posts, 0 answers
  1. Piotr
    Piotr avatar
    1 posts
    Member since:
    Nov 2013

    Posted 14 Nov 2013 Link to this post

    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
  2. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 19 Nov 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Myat
    Myat avatar
    1 posts
    Member since:
    Mar 2014

    Posted 07 Mar 2014 in reply to Ianko Link to this post

    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.
  5. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 11 Mar 2014 Link to this post

    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.

Back to Top