Snippets with HTML5 elements

2 posts, 0 answers
  1. HWNeil
    HWNeil avatar
    8 posts
    Member since:
    Mar 2010

    Posted 01 Aug 2014 Link to this post

    Hi

    I added some snippets containing HTML5 elements, such as a quote:

    <figure>
       
    <blockquote>Inset quote</blockquote>
       
    <figcaption>Insert source</figcaption>
    </figure>

    These were wrapped in CDATA tags but when used in the editor, all I got in the source code was <div></div>.

    I then wrapped my snippet in <div> tags and got the expected result.


    So, should snippets always be wrapped in <div> tags, or this only necessary for those containing HTML5 tags?

    Thanks
  2. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 04 Aug 2014 Link to this post

    Hello Heriot,

    I built a simple project upon the provided scenario, but the snippet is getting inserted as expected without any div tags needed in the configuration. 

    You can examine this screencast for the results on my end.

    Regards,
    Ianko
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top