Share feedback, ideas and get community help

33
members
1
new
N
P
B
N
B

[bug] Editing a post title discards unsaved body edits

Last updated 2 months ago
B
Brad

I was editing a post and decided to edit the title too, so I clicked the title and edited it and then clicked outside it.

But then when the title saved (I saw the toast message) the body editor closed and discarded all the edits I'd made to the body. So when I went back to ••• → Edit the changes I'd made were gone. I was surprised because I remember in the past I've tried refreshing the page while making changes and it remembered my unsaved edits.

A moment after this displays the body editor disappears.

I tried the refreshing experiment again and it too discards my edits (without a warning). Perhaps something broke recently in the editor draft saving?

N
Nathan Hur
Marked as solution

Updating the title will still navigate to the new slug but your draft edits will be preserved

View full solution
N
2 comments·1 reply
N
Nathan Hur

Hey Brad, sorry you lost your edit. This is because we had autosaving before we had title edits, and an oversight we made is that the drafts are based on url path (since you can draft posts before they are created). We will get this fixed!

N
Nathan Hur

This is fixed now

N
Nathan Hur

Updating the title will still navigate to the new slug but your draft edits will be preserved