Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new

Learn more

View all

Sign in to view all badges

AEM- custom links not displaying in the RTE / Custom links getting removed from the RTE

Community Advisor
Community Advisor

Hi All


   This is a follow up question from 


I am trying to add a link to href in RTE with below format. ( this link will be processed by another system and AEM only serves the content via page )


format :- tel:${someproperty['value']}  


I could get the value rendered by adding the  regex to /apps/cq/xssprotection/config.xml ( the steps I mentioned in the ticket )

But everytime I open the dialog for authoring something else, the href which I authored gets removed and hence I have to re-author this value , each time I open the dialog for editing anything. Do anyone have any idea how to allow this kind of special properties as links in RTE ?





2 Replies
Community Advisor
Community Advisor

@Veena_Vikram Shashi again 😀


Did you tried the approach of keeping RTE simple with tel:value in the link which will work OOTB and then converting tel:value with the format you are expecting like tel:${someproperty['value']} from backend either from sightly \${test} with escape sequence or using JSP for that piece.

Community Advisor
Community Advisor
Nope @Shashi_Mulugu I cannot do it. Since RTE , I cannot handle it from backend as it won't be sure where the author places the tel:${someproperty['value']}