could the drafted post be saved in localStorage so that if you write a post, reload the page you still have the post (or just switching pages. Writing a post and accidentally clicking on a link literally removes your entire post)
it is, on beta. but not often enough
oh, well maybe after the page unloads
https://www.w3schools.com/jsref/event_onunload.asp