Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

RTE in AEM 6.0

Singaiah_Chintalapudi
Community Advisor
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
kradhakrishna
Correct answer by
Level 2
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

0 Replies
kradhakrishna
Correct answer by
Level 2
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

Singaiah_Chintalapudi
Community Advisor
Community Advisor

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