xwikisas / application-diagram

Create various types of diagrams using draw.io
GNU Lesser General Public License v2.1
0 stars 8 forks source link

Downloading SVG makes links non functional #319

Open ane-gabriela opened 1 week ago

ane-gabriela commented 1 week ago

Seems to be a regression for https://github.com/xwikisas/application-diagram/issues/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