Replies: 2 comments
-
If you're using in embed mode, the storage dialog shouldn't be displayed. If you're not using embed=1, maybe try that? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you for your feedback ! I managed to make it work as I wanted using the editorUi.showDialog = function() {} (without embed=1) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello !
I have developed a plugin for diagrams which loads a xml graph from the parent iframe via the postMessage api.
I listen to the init event in order to load the graph only when diagrams is ready.
My problem is that the storage Dialog is triggered after the init event and override the graph that has been loaded.
What would you suggest to circumvent the problem ?
I tried to disable the Dialog display (taking inspiration from trello.js plugin) without much success so far by adding the following line to my plugin :
I also tried to hardcode somewhere a default storage mode without success (in my fork of the code) ^^
Beta Was this translation helpful? Give feedback.
All reactions