Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
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.