Thanks David. I just tried this and it only seems to work if I go back to the article via the tabs. Any other tab or link doesn't work. I've logged https://phabricator.wikimedia.org/T294463 so the team can check if this is intended or not.

Have a good day,
Strainu

Pe miercuri, 27 octombrie 2021, David Lynch <dlynch@wikimedia.org> a scris:
> Leave the editing mode "cleanly" -- saving, navigating back to the article via the tabs, following a sidebar link to another page, hitting escape, whatever. If you stop editing in a way that we can tell is intentional, you'll be asked if you want to discard your changes, and if you say that you do then it'll all get cleaned up. (We can't tell the difference between "I deliberately closed this tab because I want to get rid of this" and "I accidentally closed the wrong tab and I'll be very upset if my changes are lost", unfortunately...)
> If you want it to never autosave your changes, you could disable local session storage for the wikis you use at the browser level. But that might have side-effects outside of VE.
> We don't have any preferences that'd control the autosave, and I don't think that we have any current plans to implement something like that.
> ~David
> On Wed, Oct 27, 2021 at 11:14 AM Strainu <strainu10@gmail.com> wrote:
>>
>> Hi,
>>
>> I've been searching quite a bit on MediaWiki.org but I can't find how
>> to tell the VisualEditor to stop saving and (especially) recovering
>> changes that I haven't explicitly saved. Is there a method?
>>
>> Thanks,
>> Strainu
>> _______________________________________________
>> Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
>> To unsubscribe send an email to wikitech-l-leave@lists.wikimedia.org
>> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
>