Skip to content

How to use Drawio with tooltip enabled in mkdocs material #7184

Answered by kamilkrzyskow
Sahayavinodh asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @Sahayavinodh,
please provide a more specific example, best a whole minimal reproduction we could run to test things out on our end.

Looking at the readme of https://pypi.org/project/mkdocs-drawio/ it seems to me that the drawio diagram is inserted via some kind of JavaScript into the page. It might be generated in a shadow root / iframe, and therefore not be visible for the Tooltip logic in mkdocs-material as this requires for the HTML elements to be in the main DOM. Or perhaps you're not using that plugin, and instead embedding the diagram yourself inside of some iframe, then the same assumption applies.

Without further details, I assume this requires a lot of customization to get…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by kamilkrzyskow
Comment options

You must be logged in to vote
1 reply
@kamilkrzyskow
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants