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

Is there a way for an Author be able to put sightly code in RTE?

Avatar

Level 2

Is there a way for an Author be able to put sightly code in RTE inside Experience fragment? I currently have a page that has sightly code and business wants to be able to modify it? I tried to put sightly code in RTE and it was rendered as text.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
7 Replies

Avatar

Community Advisor

Content added inside RTE will render as text (string) and if added you can use text area resource for adding html/script/style sheets. As far as I know in RTE we cannot add sightly/jsp tags. Hope it helps.

Avatar

Level 2

Is there also way to put customized attributes in tables or text? this is needed as there will be an external service looking for a particular div with a custom attribute.

Avatar

Community Advisor

If using text area resource we can add html tags with classes/ids/custom attributes.

Avatar

Level 2

May i ask for a link/article on how to do this? I am currently using AEM 6.4 Thanks

Avatar

Correct answer by
Community Advisor