Commit 50a64953 authored by Jacob Schatz's avatar Jacob Schatz

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
parents 8e9c073a b1261ad9
......@@ -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