I like the default add link dialog in the wordpress editor. IT allows for easy linking to internal pages. I need to modify the output of those internal links.
Right now its outputting:
<a href="page url" title="linked page title">my text</a>
I need it to be:
<a href="page url" title="linked page title" data-id="linked page id">my text</a>
I need the linked page id to be set in a data attr. Is this possible with a action/hook
Thank you