Internal link in the RichTextResolver is not rendering the entire URL but just the slug. #793
Labels
has-workaround
[Issue] Temporary solutions available.
p2-nice-to-have
[Priority] Lower priority, beneficial enhancements that are not urgent.
Expected Behavior
The link should be rendered as
<a href="<URL>" ...>
, instead of<a href="<slug>" ...>
.Current Behavior
A user (@mlalitthapa) using our Nuxt SDK reported this issue: storyblok/storyblok-nuxt#756.
He's using the internal link inside a rich text editor and rendering it using
renderRichText
function. But the anchor link is using the wrong URL in the href. Let's say his contact page has URL/contact
and slug ofcontact
. Then the anchor link is just usingcontact
as URL, instead of/contact
.Steps to Reproduce
The text was updated successfully, but these errors were encountered: