RTE removing rel attribute in anchor | Community
Skip to main content
Level 3
July 13, 2020
Solved

RTE removing rel attribute in anchor

  • July 13, 2020
  • 2 replies
  • 2162 views

Hi,

 

I am using tooltip plugin in RTE to add title and rel attribute in anchor tag. But RTE removes the rel attribute. Even if I try to add in source code, it strips the rel attribute when save.

Any help much appreciated.

 

Thanks

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

Check this thread and see the solution provided by Arun

 

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/touch-ui-rte-removing-data-attributes/td-p/251251

2 replies

Varun_Shakya
Community Advisor
Varun_ShakyaCommunity AdvisorAccepted solution
Community Advisor
July 13, 2020
hptaroraAuthor
Level 3
July 14, 2020

Thanks Varun, it helped but not completely , may be I am missing something.

Now it saves rel attribute in dialog but when I view as published, it does not show rel in HTML.

I override libs/cq/xssprotection/config.xml and also libs/sling/xss/config.xml and also added disableXSSFiltering as mentioned in the link.

 

vanegi
Adobe Employee
Adobe Employee
July 13, 2020