Skip to content

More explicit buttons & global config#144

Open
rpeyron wants to merge 15 commits into
nopeslide:masterfrom
rpeyron:master
Open

More explicit buttons & global config#144
rpeyron wants to merge 15 commits into
nopeslide:masterfrom
rpeyron:master

Conversation

@rpeyron
Copy link
Copy Markdown
Collaborator

@rpeyron rpeyron commented May 8, 2022

Hello,

A very small PR with:

  • More explicit buttons (some people using the plugin lost data because of misunderstanding):
    • "Cancel" instead of "Close" ; it will also check if the contents have been modified and ask for confirmation if modified and not saved
    • "Save" because it is sometimes useful to save without closing (for instance in the middle of a big sequence diagram)
    • "Save and quit" will save and quit :)
  • The addition of another source of global config (window.defaultMermaidConfig that can be set in PreConfig.js), useful when bundled in a specific drawio distribution to include specific configuration that will apply even if there is some user local configuration

Hope his will suits you

Best regards

@rpeyron
Copy link
Copy Markdown
Collaborator Author

rpeyron commented Sep 26, 2022

Also now fix #127

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant