Firstly, I really appreciate this plugin!
However, we have some mermaid diagrams which should contain links, and the plugin doesn't currently seem to respect the target parameter of links.
I have a diagram similar to this:
flowchart TB
A-->B-->C
click A "https://atlassian.com" "Link to Atlassian" _blank
click B "https://atlassian.com" _blank
click C href "https://atlassian.com" "Link to Atlassian" _blank
This is consistent with the examples in the Mermaid documentation.
When clicking on the links, the diagram first opens in an overlay, but then if clicked on the overlay then that tries to load the page in the same iframe, and also changes the embedded image on the confluence page.
Ideally, clicked links would open directly from the page, but I understand that this might be confusing for the user, but in either case, the links should be opened in a _blank target. I also tried _top as the link target, with the same results.
Firstly, I really appreciate this plugin!
However, we have some mermaid diagrams which should contain links, and the plugin doesn't currently seem to respect the target parameter of links.
I have a diagram similar to this:
This is consistent with the examples in the Mermaid documentation.
When clicking on the links, the diagram first opens in an overlay, but then if clicked on the overlay then that tries to load the page in the same iframe, and also changes the embedded image on the confluence page.
Ideally, clicked links would open directly from the page, but I understand that this might be confusing for the user, but in either case, the links should be opened in a _blank target. I also tried _top as the link target, with the same results.