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

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

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

Level 2
Dec 12, 2018 7:27 AM UTC

is there a sample of this?

Translate
edubey
Level 10
Dec 12, 2018 6:56 AM UTC
Ravi_Pampana
Ravi_PampanaAccepted solution
New Participant
Dec 12, 2018 5:42 AM UTC
Level 2
Dec 12, 2018 5:34 AM UTC

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

Translate
Ravi_Pampana
New Participant
Dec 12, 2018 5:30 AM UTC

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

Translate
Level 2
Dec 12, 2018 5:25 AM UTC

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.

Translate
Ravi_Pampana
New Participant
Dec 12, 2018 4:49 AM UTC

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.

Translate