Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML5 tags are not working in RTF field for TRidion 2011

I came across with an issue where RTF field in TRidion 2011 is removing HTML5 tags while saving component.

Issue: Source snippet

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

Tridion is saving above snippet

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

In short Tridion is removing HTML5 attribute while saving the component.

Please give some hint to resolve above issue.

like image 400
Hiren Mistry Avatar asked Mar 07 '13 04:03

Hiren Mistry


1 Answers

For this you can extend the RTF field to allow HTML5 tags for this you have to specify these tags in a file TcmXhtml.Config at the path

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

like image 140
Ram Saurabh Avatar answered Sep 20 '22 18:09

Ram Saurabh