My client heavily relies on the ability to insert links to other entries in text fields with Redactor. I used to do this on our headless site by setting the base site URL to the frontend-URL instead of the CMS.
Now that I turned on headless mode (which is great for everything else, I'm very happy about this change!), this is not possible anymore.
Maybe preview targets could be used as the entry URLs here?
Great point. I’ve just reopened #4520 with an idea of how we can solve this – https://github.com/craftcms/cms/issues/4520#issuecomment-531040417.
@brandonkelly sorry to bring this up in a closed issue but I'm not sure I'm following how Link to Entry can used to link to the "front-end" URL of the selected entry. In headless mode, with a Primary preview target set to the client version of the entry, the redactor field (queried using Gql) just returns the regular, api version of the URL
@howells It’s going to depend on what your site’s Base URL is set to, as well as the section’s Entry URI Format.
Sorry - misconfiguration my side, all works as expected!
On 13 Apr 2020, 21:45 +0100, Brandon Kelly notifications@github.com, wrote:
@howells It’s going to depend on what your site’s Base URL is set to, as well as the section’s Entry URI Format.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Most helpful comment
Great point. I’ve just reopened #4520 with an idea of how we can solve this – https://github.com/craftcms/cms/issues/4520#issuecomment-531040417.