Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing the SVG diagram doesnt make the "Apply changes" enabled, and doesnt save image #10

Open
LucienMP opened this issue Jan 28, 2021 · 0 comments

Comments

@LucienMP
Copy link
Owner

There used to be a draw-io save button, which would fire a "save" event.
However I have now disabled the draw-io buttons and want the "Apply Changes" button to do the same.

So I turned on "autosave" event for drawio, this will send the updated XML every time something changes.
you will need to work out how to keep the XML/PNG data until the Apply button is hit. AND also need to make the APPLY button change to blue when you get the autosave event. You can see an example of changing the Apply button inside the UI update functions.

Alternatively you might need to send a "export" message to get the PNG/XML file back when you close the window.

mvtdev1050 added a commit that referenced this issue Jan 29, 2021
@LucienMP LucienMP changed the title Changing the SVG diagram doesnt make the "Apply changes" enabled, and doesnt same image Changing the SVG diagram doesnt make the "Apply changes" enabled, and doesnt save image Jan 30, 2021
mvtdev1050 added a commit that referenced this issue Feb 3, 2021
mvtdev1050 added a commit that referenced this issue Feb 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant