RichText whitelisting of attributes of anchor tag does not work. It still strips of class or style attributes from the a tag. This prevents me from controlling the look of the anchor tag or prevents me from adding my own custom data attributes. I believe this is happening because the PageLinkHandler reconstructs the a tag by looking at the id and does not add other custom attributes that are added from the richtext editor by a custom plugin.
Issue Summary
RichText whitelisting of attributes of anchor tag does not work. It still strips of class or style attributes from the a tag. This prevents me from controlling the look of the anchor tag or prevents me from adding my own custom data attributes. I believe this is happening because the
PageLinkHandler
reconstructs thea
tag by looking at the id and does not add other custom attributes that are added from the richtext editor by a custom plugin.Technical details