Issue:
We have developed custom RTE link plugin where we could add additional parameters inside the anchor tag (like data-target, data-modal etc). On re-edit of the RTE the additional parameters are stripped/truncated.
Observations:
Step one: author the RTE dialog
Step 2: Submit the RTE dialog. Content is properly stored in jcr content with additional parameters in the anchor tag
<p>A majority of Americans who are about to <a href="https://forums.adobe.com/content/test.html" data-target="#leavingModal" data-remote="false" data-toggle="modal">become</a> eligible for </p>
Step 3: Reopen the RTE Dialog, you wont see the additional parameters
Question: Wondering why the RTE dialog is truncating/striping the additional parameters other than href and title. Can you please help me to identify where the truncating/striping is happening on RTE?
Solved! Go to Solution.
Hi Sunil,
You need to add your custom parameter like data-target in xssprotection config file.
Add all your custom parameter and re-edit RTE dialog ,it should work fine.
Also make sure you have properly added login in dltToModel and dlgFromModel mtheods.
Hope this help.
Views
Replies
Total Likes
Hi Sunil,
You need to add your custom parameter like data-target in xssprotection config file.
Add all your custom parameter and re-edit RTE dialog ,it should work fine.
Also make sure you have properly added login in dltToModel and dlgFromModel mtheods.
Hope this help.
Views
Replies
Total Likes
Thank you!
Views
Likes
Replies