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

Link to website in mermaid node is not working properly #1135

Open
AngryNui opened this issue Mar 6, 2024 · 2 comments
Open

Link to website in mermaid node is not working properly #1135

AngryNui opened this issue Mar 6, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@AngryNui
Copy link

AngryNui commented Mar 6, 2024

Describe the bug
Links in mermaid to external websites won't open when opening .md in collectives.
Links in mermaid fail to open new tab when using _blank (also in markdown editor not only in collective).

To Reproduce
Steps to reproduce the behavior:

  1. Create collective/.md with a mermaid-codeblock and add
%%{init: {'securityLevel':'loose'}}%%
flowchart
	Nextcloud --> 2 --> 3 ---> Nextcloud

click Nextcloud href "https://nextcloud.com/" _blank 
  1. Click on the nextcloud-node in mermaid diagram
  2. See no external website will open nor a new tab
  3. Go to filebrowser open .md and click on the nextcloud-node in mermaid diagram
  4. See external website will load but won't open in a new tab

Expected behavior
open new tab with external website when using _blank like described in
Mermaid Docs

Server details:

  • Collectives app version: [2.9.2]
  • Nextcloud version: [28.0.3]

Client details:

  • OS: [Windows]
  • Browser: [Firefox]
  • Browser version: [123.0.1]
  • Device: [desktop]
@AngryNui AngryNui added the bug Something isn't working label Mar 6, 2024
@AngryNui
Copy link
Author

same behavior after update

  • Collectives app version: [2.10.0]

@AngryNui
Copy link
Author

AngryNui commented Apr 4, 2024

same behavior after update

  • Collectives app version: [2.10.1]
  • Nextcloud version: [28.0.4]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant