RTE removing rel attribute in anchor | Community
Skip to main content
Level 3
Jul 13, 2020 4:27 AM UTC
Solved

RTE removing rel attribute in anchor

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.
Varun_Shakya
Varun_ShakyaAccepted solution
New Participant
Jul 13, 2020 5:20 AM UTC

4 replies

vanegi
Employee
Jul 13, 2020 8:57 AM UTC
Varun_Shakya
Varun_ShakyaAccepted solution
New Participant
Jul 13, 2020 5:20 AM UTC
hptaroraAuthor
Level 3
Jul 14, 2020 3:09 AM UTC

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.

 

Translate