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
So I'm embedding the app on a website (via iframe), and I want to hide specific buttons, but not all of them.
For example, let's say I want to hide the edit=>edit style button.
I can inject CSS through the configuration, but the problem is these buttons have no unique identifiers besides the innerhtml (which css can't target). I could do nth-of-type, but that won't work on the submenu, because all the buttons share the same .geMenubar, which means if I hid the x'th button in one, it'd hide it in all of them.
Anyone have any idea how I could solve this? Whether it's through configuration, or javascript, or whatnot.
Some documentation, that haven't helped me solve this issue:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
So I'm embedding the app on a website (via iframe), and I want to hide specific buttons, but not all of them.
For example, let's say I want to hide the edit=>edit style button.
I can inject CSS through the configuration, but the problem is these buttons have no unique identifiers besides the innerhtml (which css can't target). I could do nth-of-type, but that won't work on the submenu, because all the buttons share the same .geMenubar, which means if I hid the x'th button in one, it'd hide it in all of them.
Anyone have any idea how I could solve this? Whether it's through configuration, or javascript, or whatnot.
Some documentation, that haven't helped me solve this issue:
https://www.drawio.com/doc/faq/embed-mode
https://www.drawio.com/doc/faq/configure-diagram-editor
Beta Was this translation helpful? Give feedback.
All reactions