We have tag like below
<a class="descriptor-link" href="#" data-content-id="descriptor-1" data-toggle="popover" data-placement="auto" data-trigger="manual">test<sup>1</sup></a>
when we are putting it into RTF source tab and coming back to Design, the following attributes are automatically removed:
data-content-id="descriptor-1"
data-toggle="popover"
data-placement="auto"
data-trigger="manual"
once we go back to source tab.
I came to know like we need to update the TcmXHTML
file at this location Tridion\web\WebUI\Core\Controls\FormatArea\TcmXhtml
.
Am I thinking correct and if yes then how I need to update the file to stop these attributes from getting deleted?