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


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

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

    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?

  2. Ianko
    Ianko avatar
    1940 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.


    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.

Back to Top