Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

RTE in AEM 6.0

Avatar

Community Advisor

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.

1 Accepted Solution

Avatar

Correct answer by
Level 2

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

View solution in original post

2 Replies

Avatar

Correct answer by
Level 2

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

Avatar

Community Advisor

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