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

Option: Interactive; Hyperlinks not working in Diagrams #31

Open
Davo00 opened this issue Jan 17, 2021 · 2 comments
Open

Option: Interactive; Hyperlinks not working in Diagrams #31

Davo00 opened this issue Jan 17, 2021 · 2 comments

Comments

@Davo00
Copy link

Davo00 commented Jan 17, 2021

The generated SVG includes with correct links, but it's not clickable and the links don't work.
What should I provide for further investifgation of the problem.

@z3rone
Copy link

z3rone commented Jan 18, 2021

I have the same problem. Investigating the generated SVG I discovered errors regarding the foreign object tags.
All tags within a forignObject tag should be prefixed with xhtml:. Furthermore, the xmlns:xhtml="http://www.w3.org/1999/xhtml" attribute should be set in the <svg>-tag. Read https://stackoverflow.com/questions/45518545/svg-foreignobject-not-showing-on-any-browser-why for further information.

Screenshots
before fix:
image
with fix applied:
image

@Davo00
Copy link
Author

Davo00 commented Jan 21, 2021

Thank you for your quick and helpful response, Mate

In my case adding xmlns:xlink="http://www.w3.org/1999/xlink" was helpfull for linking. Is there any way to add your suggestions and the link snippet automatically to each interactive svg?

I'm pretty sure the users wouldn't like the idea of doing it manually and uploading svg some way

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

No branches or pull requests

2 participants