diff --git a/packages/mermaid/src/dagre-wrapper/shapes/util.js b/packages/mermaid/src/dagre-wrapper/shapes/util.js index 079125e3a6..1ecb201814 100644 --- a/packages/mermaid/src/dagre-wrapper/shapes/util.js +++ b/packages/mermaid/src/dagre-wrapper/shapes/util.js @@ -60,6 +60,7 @@ export const labelHelper = async (parent, node, _classes, isNode) => { // if there are images, need to wait for them to load before getting the bounding box const images = div.getElementsByTagName('img'); + console.log('images', images); if (images) { const noImgText = labelText.replace(/]*>/g, '').trim() === '';