On the live editor at https://www.mermaidchart.com/play, when you copy the 'database' snippet, it has the wrong formatting, putting into the clipboard a sub-routine instead. If you use the insert option for database, it's got the correct format.
To Reproduce
Go to the playground and start a graph with graph TD.
Go to the snippets and insert a database. You'll get dbId[("`label`")] inserted.
Click on the icon to copy the database, paste into the graph, and you'll have dbId[["`label`"]]
Expected behavior
Copying the database puts dbId[("`label`")] into the clipboard.
Describe the bug
On the live editor at https://www.mermaidchart.com/play, when you copy the 'database' snippet, it has the wrong formatting, putting into the clipboard a sub-routine instead. If you use the insert option for database, it's got the correct format.
To Reproduce
Go to the playground and start a graph with
graph TD
.Go to the snippets and insert a database. You'll get
dbId[("`label`")]
inserted.Click on the icon to copy the database, paste into the graph, and you'll have
dbId[["`label`"]]
Expected behavior
Copying the database puts
dbId[("`label`")]
into the clipboard.