RTE in AEM 6.0 | Community
Skip to main content
Singaiah_Chintalapudi
Level 7
October 16, 2015
Solved

RTE in AEM 6.0

  • October 16, 2015
  • 2 replies
  • 1162 views

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.
Best answer by kradhakrishna

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

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

Singaiah_Chintalapudi
Level 7
October 16, 2015

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