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

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

1 Answer 37 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Neha
Top achievements
Rank 1
Neha asked on 06 Jun 2014, 12:10 PM

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

 

 

1 Answer, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 09 Jun 2014, 07:24 PM
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.

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