Closed pzehle closed 3 weeks ago
Perhaps it's better to make the configuration
option undefined
if it's not used. Does that help?
The problem is not actually that, the problem is that I DO want to send configurations to it, since I want to allow only the use of UML libraries.
In Storybook there a working demo where urlParameters
, xml
and configurations
are combined: https://marcveens.github.io/react-drawio/?path=/story/components-drawioembed--with-configurations (and the code).
If that still doesn't help, could you provide working example using Stackblitz for example so I can have a look?
Just adding the
configuration
tag to the component makes the embedded iframe to just be blank. Adding or removing any options to the object makes no difference:Removing the
configuration
tag makes it load correctly. Am I doing something wrong?