Share feedback, ideas and get community help

P
B
N
B
C

[bug] Editing a post title discards unsaved body edits

Updated 3 months ago

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?

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

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!

This is fixed now

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