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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

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

jonathand935543
Level 2
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
Ravi_Pampana
Correct answer by
Community Advisor
Community Advisor
7 Replies
Ravi_Pampana
Community Advisor
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.

jonathand935543
Level 2
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.

Ravi_Pampana
Community Advisor
Community Advisor

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

jonathand935543
Level 2
Level 2

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

Ravi_Pampana
Correct answer by
Community Advisor
Community Advisor