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.
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?