Quantcast
Channel: Adobe Community : Popular Discussions - CQ5 (read only)
Viewing all articles
Browse latest Browse all 12476

How to add custom attribute to cq:text ?

$
0
0

Hi,

 

Currently i am using <cq:text property="text"/> to display the text in my page.

I need to find a way to add custom attribute to the text compnent (Highlighted in the example below).

 

eg.

====================================

<divid="cq-gen23"class="text section cq-element-parPanel_47text">

<pid="cq-gen35" customAttributeHere="true">Testing Test Test<br></p>
<scriptid="cq-gen36"type="text/javascript">

</div>

====================================

 

Is there a way i can do the above?


Viewing all articles
Browse latest Browse all 12476

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>