Change type of permalinks on TinyMCE link dialogue

This is not a real problem as wordpress remembers all the addresses the content had during it existence and automatically redirects to the recent one. The code is not 100% fail prof but you will need to work very hard to make it fail.

That is the reason you don’t need to update links in your content when you change the permalink structure or the slug. If the redirects bother you then use one of the plugins that can detect that (I use broken links) or an external utility.