Linky replacer →
can be optionally configured to include internal/local links, which are stored within linky.
The problem is that then linky isn't configured to allow internal links and thus causes problems with trying to edit the links within linky.
Install and configure both linky and linky replacer into a system. Configure linky replacer to allow internal links.
Create some content and link to a path of "/node/1" (assuming the environment has node 1) and save. This will get created as a managed link.
Now edit the internal link in managed links and alter the link title and save.
This will then cause a crash in a validator, because routed url's do not have a URI which will cause a crash.
Once this issue has been resolved, the URL's will not be allowed for a url like "entity:node/1" since the link field is only configured to support external URL's.
Fix up the issue with the \Drupal\linky\Plugin\Validation\Constraint\LinkyLinkConstraintValidator::validate() to work with routed links.
Change the link field configuration to allow both internal and external links.
Linky replacer has a configuration which specifies that it can import internal links. I am not sure if this is applicable to Linky as links are added manually, and the editor can determine if they want external or external.
Needs review
2.0
Code