code added in html in editor...then saving. code is changed

2 posts, 0 answers
  1. Neha
    Neha  avatar
    18 posts
    Member since:
    Feb 2014

    Posted 06 Jun 2014 Link to this post

    I have copy this data into editor
    " <div itemscope itemtype="http://data-vocabulary.org/Review-aggregate">    <span itemprop="itemreviewed">Pizza Amorata</span>    <img itemprop="photo" src="pizza.jpg" />    <span itemprop="rating" itemscope itemtype="http://data-vocabulary.org/Rating">      <span itemprop="average">9</span>      van <span itemprop="best">10</span>    </span>    op basis van <span itemprop="votes">24</span> beoordelingen.  </div>    "

    then i look in the source of my website and see this:
    <div ? itemtype="http://data-vocabulary.org/Review-aggregate"><span itemprop="itemreviewed">SiteToGo websites</span><img alt="" itemprop="photo" src="http://www.webaan.nl/pizza.jpg" /><span itemprop="rating" itemtype="http://data-vocabulary.org/Rating"><span itemprop="average">9</span>van <span itemprop="best">10</span></span>op basis van <span itemprop="votes">24</span> beoordelingen.</div>

    there is a difference. the word 'itemscope' in the first line is removed.
    I got this content from using this method
    Editor.Content

    Please resolve this issue

     

     

  2. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 09 Jun 2014 Link to this post

    Hi Neha,

    Due to XHTML validation matter the micro attributes are failing when used in RadEditor. This matter is already logged and investigated for further improvements by the Telerik developer team.

    For the time being I suggest using the attribute with a value to workaround the problem. Every micro attribute is also supported with a value set. For example itemscope="itemscope".

    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