Search code examples
javascriptcsshtmlphotoeditorsdk

How can I check if image isDirty PhotoEditorSDK


I'm trying to prompt a modal that asks to save the image when you click the close button in the Desktop UI.

I want to check if the image the image is changed since the last Export. How can I check if the image has been edited and is currently "dirty" ?


Solution

  • there is no proper way todo this right now. However, we just added a new feature which will be available with the next minor release.