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

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

  • December 12, 2018
  • 7 replies
  • 2768 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

Ravi_Pampana
Community Advisor
Community Advisor
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.

Level 2
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
Community Advisor
Community Advisor
December 12, 2018

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

Level 2
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
Community Advisor
Ravi_PampanaCommunity AdvisorAccepted solution
Community Advisor
December 12, 2018
edubey
Level 10
December 12, 2018
Level 2
December 12, 2018

is there a sample of this?