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

Internal link from rich text editor rendering wrong URL #756

Closed
1 task done
mlalitthapa opened this issue Feb 23, 2024 · 2 comments
Closed
1 task done

Internal link from rich text editor rendering wrong URL #756

mlalitthapa opened this issue Feb 23, 2024 · 2 comments
Assignees
Labels
bug [Issue] Something isn't working investigation [Issue] The Storyblok team is investigating

Comments

@mlalitthapa
Copy link

Describe the issue you're facing

I am using the internal link inside a rich text editor and rendering it using renderRichText function. But the anchor link are using the wrong URL in the href. Let's say my contact page has URL /contact and slug of contact. Then the anchor link is just using contact as URL instead of /contact.

Screenshot 2024-02-23 at 9 00 00 PM
"nuxt": "^3.6.5"
"@storyblok/nuxt": "^5.6.2"

Reproduction

--

Steps to reproduce

No response

System Info

System:
    OS: macOS 14.2.1
    CPU: (8) arm64 Apple M1 Pro
    Memory: 138.73 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.17.0 - ~/.nvm/versions/node/v18.17.0/bin/node
    npm: 9.6.7 - ~/.nvm/versions/node/v18.17.0/bin/npm
  Browsers:
    Chrome: 122.0.6261.57

Used Package Manager

npm

Error logs (Optional)

No response

Validations

@mlalitthapa mlalitthapa added pending-author [Issue] Awaiting further information or action from the issue author pending-triage [Issue] Ticket is pending to be prioritised labels Feb 23, 2024
@Dawntraoz
Copy link
Contributor

Hi @mlalitthapa, thanks for reporting your issue. The renderRichText function is coming from the JS client, so let me redirect this issue to them to check if it's a known issue being worked or if we shall report it at https://github.com/storyblok/storyblok-js-client instead 🙏

@Dawntraoz Dawntraoz self-assigned this Feb 26, 2024
@Dawntraoz Dawntraoz added bug [Issue] Something isn't working investigation [Issue] The Storyblok team is investigating and removed pending-author [Issue] Awaiting further information or action from the issue author pending-triage [Issue] Ticket is pending to be prioritised labels Feb 26, 2024
@Dawntraoz
Copy link
Contributor

Hi @mlalitthapa I've already reported the issue in the client repo, you can follow the progress here: storyblok/storyblok-js-client#793

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug [Issue] Something isn't working investigation [Issue] The Storyblok team is investigating
Projects
None yet
Development

No branches or pull requests

2 participants