HTML5 tags do not work in RTF field for TRidion 2011

I ran into a problem when the RTF field in TRidion 2011 removes HTML5 tags while saving the component.

Question: Source fragment

<div>
     <a class="arrow button" data-role="button" data-inline="true" href="www.google.com">Information</a>
</div>

Tridion Saves Above Fragment

<div>
     <a class="arrow button" href="www.google.com">Information</a>
</div>

In short, Tridion removes the HTML5 attribute when the component is saved.

Please give some hint on the solution to the above problem.

+5
source share
4 answers

To do this, you can expand the RTF field to allow HTML5 tags for this you need to specify these tags in the TcmXhtml.Config file on the way

[Tridion] \ web \ WebUI \ Core \ Controls \ FormatArea \ TcmXhtml.

+10
source

Tridion XHTML . XHTML, Tridion .

, Rich Text (. Ram), , Rich Text Fields, . ( ), , . RTF, , , , .

+5

\Tridion\web\WebUI\Core\Controls\FormatArea\TcmXhtml\TcmXHTML.config "drop-proprietary-attributes" "false":

: drop-proprietary-attributes: true : drop-proprietary-attributes: false

COM + .

+4

, : http://tridion.kb.sdl.com/kb/?ArticleId=4065&source=Article&c=12&cid=19#tab:homeTab: : 7: artId: 4504

, HTML 5 , . , , :

new-blocklevel: figcaption figure footer header hgroup nav - : new-empty-tags:

0

All Articles