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
Locate the file "ext.drawioeditor.js" and change the following lines:
from src: 'https://www.draw.io/?embed=1&proto=json&spin=1&analytics=0&db=0&gapi=0&od=0&picker=0',
to src: 'https://embed.diagrams.net/?embed=1&ui=atlas&spin=1&modified=unsavedChanges&proto=json',
from this.iframeWindow.postMessage(JSON.stringify(data), 'https://www.draw.io');
to this.iframeWindow.postMessage(JSON.stringify(data), 'https://embed.diagrams.net');
from if (e.origin != 'https://www.draw.io')
to if (e.origin != 'https://embed.diagrams.net')
Otherwise feel free to use my modified code https://github.com/MichaelStrasser88/DrawioEditor.git
While clicking edit in wiki page, there is a window prompts:
'app.diagrams.net will stop working for Embed mode. Please use embed.diagrams.net.'
But the original diagram can be shown correctly. but could not be edited.
Can anyone help?
The text was updated successfully, but these errors were encountered: