Is there a way for an Author be able to put sightly code in RTE? | Community
Skip to main content
New Participant
December 12, 2018
Solved

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

  • December 12, 2018
  • 7 replies
  • 2767 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

7 replies

New Participant
December 12, 2018

is there a sample of this?

edubey
New Participant
December 12, 2018
Ravi_Pampana
Ravi_PampanaAccepted solution
New Participant
December 12, 2018
New Participant
December 12, 2018

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

Ravi_Pampana
New Participant
December 12, 2018

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

New Participant
December 12, 2018

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
New Participant
December 12, 2018

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.