We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With mermaid 7.1.2 on npm (https://www.npmjs.com/package/mermaid), adding the startOnLoad as mentioned in #291 (comment) did not make that issue away for me:
startOnLoad
var config = { startOnLoad: false }; mermaid.initialize(config);
After testing https://github.com/mermaidjs/mermaid-live-editor and setting a breakpoint in https://github.com/knsv/mermaid/blob/6cd5ffe637d88525b93417bf3954e9c0e5a4deb8/src/mermaid.js#L118-L124, I saw that startOnLoad was not being set properly.
Instead, I had to do this:
mermaid.initialize({ mermaid: { startOnLoad: false } });
Is there a documentation error here?
The text was updated successfully, but these errors were encountered:
Yes, the documentation is pretty dated.
But I just tested, both code work.
Could you please test the latest mermaid code? Thanks
Sorry, something went wrong.
Merge pull request mermaid-js#616 from mermaid-js/develop
4528d8c
Develop
No branches or pull requests
With mermaid 7.1.2 on npm (https://www.npmjs.com/package/mermaid), adding the
startOnLoad
as mentioned in #291 (comment) did not make that issue away for me:After testing https://github.com/mermaidjs/mermaid-live-editor and setting a breakpoint in https://github.com/knsv/mermaid/blob/6cd5ffe637d88525b93417bf3954e9c0e5a4deb8/src/mermaid.js#L118-L124, I saw that
startOnLoad
was not being set properly.Instead, I had to do this:
Is there a documentation error here?
The text was updated successfully, but these errors were encountered: