Disable link text in the Froala link plugin

I am using the Froala editor in my solution to create html that is to be sent to a PDF converter. The PDF converter does not support links with custom text.

So what I want is to disable the possibility to add links with custom text in the editor. I want it to be generated as clickable anchor link (<a>) but I want the full url to show in the text.

I have found the setting linkText: false, which results in no option for adding text inside the insert link popup. This is exactly what I want – so far so good.

The issue is that the user can “work around” this by selecting a text in the editor before clicking the link button. The text is still not shown in the link popup, but the link you create is applied to the selected text, and the link url is not shown in the text.

Is it some way I can disable this behaviour in the link plugin so that if the user has selected a text before adding the link, the text will be ignored, and the link with url as text will just be inserted after the pre-selected text?