Allow relative urls in Hyperlinks?

Hello!

I would like to inquire/request that Prismic allow relative links in link fields. Specifically, in the “hyperlink” content type in a rich text field.

I am using prismic content in a marketplace website with multiple environments, and we regularly link to other parts of the marketplace from the prismic content. It would be so much easier to just have an /other-page hyperlink than having to go in and change it to https://any-given-marketplace's-environment-url.com/other-page/ to avoid having to build a complex environment/base URL helper in the marketplace.

Do you have any other suggestions for incorporating relative URLs from the Prismic side?

Thank you!

Hi Jake,

Welcome to the community!

We have discussed this previously in this thread, our plan for this and a workaround which uses dummy documents in Prismic.

Thanks.