homebrewery icon indicating copy to clipboard operation
homebrewery copied to clipboard

[EDITOR] Unsaved Changes on Exit

Open G-Ambatte opened this issue 1 year ago • 0 comments

Your idea:

Reproduction Steps:

  1. Open any document.
  2. Make a change. Note that the "AUTOSAVE" icon changes to "SAVE NOW"
  3. Revert that change. Note that the "SAVE NOW" reverts to "AUTOSAVE"
  4. Attempt to close the tab.

Despite the fact that there are no changes to be saved, the "Your changes may be lost" warning appears.

image

Solution: update the function called at editor close to use the same logic as the SAVE button.

G-Ambatte avatar Jan 11 '24 22:01 G-Ambatte