Mermaid URL JSON create not working
- [X ] I agree to follow the Code of Conduct that this project adheres to.
- [X ] I have searched the issue tracker for a feature request that matches the one I want to file, without success.
You must search the issue tracker and agree to the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.
If you are technical, you should report bugs along the lines of https://marker.io/blog/how-to-write-bug-report. If you are not technical, we will make allowances, please try to make an effort to understand the process.
Describe the bug I try to import a mermaid diagram via the json create parameter. Its not working. Using the same mermaid code directly in the app it works.
https://app.diagrams.net/?create=%7B%22type%22%3A%22mermaid%22%2C%22data%22%3A%22gantt%5Cn%20%20title%20Sales%20Project%20Timeline%5Cn%20%20dateFormat%20YYYY-MM-DD%5Cn%20%20section%20Sales%20Activities%5Cn%20%20Q1%20Sales%20%3A2024-01-01%2C%202024-03-31%5Cn%20%20Q2%20Sales%20%3A2024-04-01%2C%202024-06-30%5Cn%20%20Q3%20Sales%20%3A2024-07-01%2C%202024-09-30%5Cn%20%20Q4%20Sales%20%3A2024-10-01%2C%202024-12-31%22%7D
gantt
title Sales Project Timeline
dateFormat YYYY-MM-DD
section Sales Activities
Q1 Sales :2024-01-01, 2024-03-31
Q2 Sales :2024-04-01, 2024-06-30
Q3 Sales :2024-07-01, 2024-09-30
Q4 Sales :2024-10-01, 2024-12-31
To Reproduce Steps to reproduce the behavior:
- Go to the URL posted above.
Expected behavior I would have expected the mermaid to be rendered.
Screenshots i dont have any
draw.io version (In the Help->About menu of the draw.io editor):
- draw.io version 28.2.5
Desktop (please complete the following information): happens on any OS i tried
I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:
- yes