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
How to change text size
I add maxTextSize in src/config/diagramDefaults.ts, it seems not working.
Like this
export const defaultMermaidOptions: mermaidAPI.Config = {
securityLevel: 'loose',
maxTextSize: 5000000,
logLevel: 3, //1:debug, 2:info, 3:warn, 4:error, 5:fatal
//cloneCssStyles: true, // - This options controls whether or not the css rules should be copied into the generated svg
startOnLoad: false, // - This options controls whether or mermaid starts when the page loads
The text was updated successfully, but these errors were encountered:
I'm not sure this issue has already solved or closed, I'm sharing my solution.
First, the maxTextSize should be large enough
Second, I added the same option in DiagramController.tsx, initializeMermaid() function. const options = merge({}, defaultMermaidOptions, {theme: 'base', maxTextSize: 9999999999})
How to change text size
I add maxTextSize in src/config/diagramDefaults.ts, it seems not working.
Like this
export const defaultMermaidOptions: mermaidAPI.Config = {
securityLevel: 'loose',
maxTextSize: 5000000,
logLevel: 3, //1:debug, 2:info, 3:warn, 4:error, 5:fatal
//cloneCssStyles: true, // - This options controls whether or not the css rules should be copied into the generated svg
startOnLoad: false, // - This options controls whether or mermaid starts when the page loads
The text was updated successfully, but these errors were encountered: