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

Downloading SVG makes links non functional #319

Open
ane-gabriela opened this issue Nov 21, 2024 · 0 comments
Open

Downloading SVG makes links non functional #319

ane-gabriela opened this issue Nov 21, 2024 · 0 comments
Assignees

Comments

@ane-gabriela
Copy link

ane-gabriela commented Nov 21, 2024

Seems to be a regression for #130

Steps to reproduce:

  1. Create a new Diagram

  2. Add some shapes

  3. Add a word in each shape

  4. Select the word from one of the shapes

  5. Click on the Link... button below Insert from the right panel

  6. Select a wiki page > Apply
    InternalPage

  7. Select another shape/word

  8. Click on the Link... button below Insert from the right panel

  9. Select External and paste an URL eg. https://en.wikipedia.org/wiki/Flower
    ExternalLink

  10. Click File > Export as > SVG...

  11. Click on Export

  12. Click on Download > Save

  13. Open the SVG

  14. Click on each of the links

Expected results: The links are showing as expected.

Actual results: When clicking on the link to the internal page it gives "javascript:void(0);" and the link to the external url doesn't work at all - it's just like text not a link.

Heading

Environment: XWiki 14.10.18 with Diagram version 1.21.1-rc-1, Chrome 131, Windows 11 Pro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

3 participants