Skip to main content
Singaiah_Chintalapudi
Level 7
October 16, 2015
Solved

RTE in AEM 6.0

Hi,

I am using RTE component in AEM 6.0 (using Sightly). When I try to print the description value it is coming with the html tags. How to display the content without any html tags?

Thanks.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
kradhakrishna
kradhakrishnaAccepted solution
Level 2
October 16, 2015

Hi,

did you use @ context='html' ?

<div>${properties.richText @ context='html'}</div>

http://docs.adobe.com/docs/br/aem/6-0/develop/sightly.html

 

Regards,

Krishna

2 replies

Singaiah_Chintalapudi
Level 7
October 16, 2015

Thanks. Yes. It worked for me. Thanks a lot.

Translate
kradhakrishna
kradhakrishnaAccepted solution
Level 2
October 16, 2015

Hi,

did you use @ context='html' ?

<div>${properties.richText @ context='html'}</div>

http://docs.adobe.com/docs/br/aem/6-0/develop/sightly.html

 

Regards,

Krishna

Translate