Confirm change at leaving a file


leaving a file (which will clean the “redo” history). Even jump to another link by misclick will cause an unexpected but irrevocable change to the current file.

I deleted my 3-hour work accidentally. I think it is related to some bug that I cannot reproduce.

Related feature requests: