I’ve had this happen on kbin quite a few times as well, but even if it redirects to a new page with an error message, it always saves the text in the input field. Haven’t lost a single letter once.
Does it work differently for you? At what point does it lose some of your content?