Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force relative URLs for configured domain when users insert links (configurable) #6

Open
jnnkB opened this issue Mar 15, 2020 · 1 comment
Labels
on roadmap Accepted on to the roadmap for the given milestone

Comments

@jnnkB
Copy link

jnnkB commented Mar 15, 2020

If a link is added that refers to the page it self, it should automatically remove the domain and become a relative link so it's still usable if the domain changes or a site has multiple domains with the content.

This could be implemented on the server side but I think it should be implemented on the client side.

I think it would make sense to clear up what belongs to the client and what belongs to the server.

@anthonyjb anthonyjb added the on roadmap Accepted on to the roadmap for the given milestone label Mar 15, 2020
@anthonyjb
Copy link
Member

Agreed this would be a really nice feature to add and something we've had issues with before too actually. We'd need to potentially allow it to be a setting for the editor but yes we could force all links to be relative client-side for a configured domain (which can default to the current domain, for wildcard domains I think this should be configured.)

@anthonyjb anthonyjb changed the title Links relative to website URL Force relative URLs for configured domain when users insert links (configurable) Mar 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
on roadmap Accepted on to the roadmap for the given milestone
Projects
None yet
Development

No branches or pull requests

2 participants