Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.
Level 1
Level 2
Melden Sie sich an, um alle Badges zu sehen
Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.
Hey Everyone,
I have a requirement for RTE to allow special character in link, details are in below
1. Using special character. eg. "<" ">"
but when author tries to re-configure it, it shows encoded value as below
I believe while saving value in JCR will be encoded but need to decode while retrieving it.
1. one option is to overlay
/libs/clientlibs/granite/richtext/core/js/plugins/LinkPlugin.js
and customize it to decode .
anyone faced similar issue or have any other solution for it?
Regards,
Santosh
Gelöst! Gehe zu Lösung.
Zugriffe
Antworten
Likes gesamt
I have tried the same thing in OOTB RTE and cannot replicate this issue. COuld be due to some customisation done to your RTE component.
Please try the same in OOTB RTE, and check your custom code once.
@Anmol_Bhardwaj
Checked on (AEM 6.5.5 onwards) we-retail page, It is reproducible on a Text component
Regards,
Santosh
Hi @SantoshSai ,
You can customize RegEx for the href attribute value under the XssProtection file. Check the below blog for a clear understanding.
https://medium.com/@mayursatav/enable-html-tags-attributes-in-rte-555dd60d62ee
@MayurSatav
Thank for your response; However, the above solution is for managing HTML source, We can manage it in a multiple way Delegating core Text component, Sling Model etc,
But my question was for rendering saved value on JCR and would like to have displayed same in dialog.
Regards,
Santosh
Zugriffe
Likes
Antworten
Zugriffe
Likes
Antworten