Commit c8fed8f2 authored by Jacob Schatz's avatar Jacob Schatz
Browse files

Merge branch 'sh-fix-mermaid-start-on-load-typo' into 'master'

Fix Mermaid drawings not loading on some browsers

Closes #42052

See merge request gitlab-org/gitlab-ce!16537
......@@ -19,7 +19,11 @@ export default function renderMermaid($els) {
import(/* webpackChunkName: 'mermaid' */ 'blackst0ne-mermaid').then((mermaid) => {
mermaid.initialize({
loadOnStart: false,
// mermaid core options
mermaid: {
startOnLoad: false,
},
// mermaidAPI options
theme: 'neutral',
});
......
---
title: Fix Mermaid drawings not loading on some browsers
merge_request:
author:
type: fixed
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment