You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the Mermaid Live Editor, clicking the “Sample Diagrams” dropdown and selecting any sample immediately replaces the entire current diagram in the editor.
This happens:
Without any warning or confirmation dialog.
Without a way to undo or restore the previous diagram.
This leads to accidental data loss if a user clicks on a sample while working on an unsaved diagram.
Expected Behavior:
Prompt the user with a confirmation dialog
Or add an Undo functionality so users can restore the previous content after loading a sample