Offer to restore any available local post backup (instead of only the most recent one) #23955
Labels
[Feature] History
History, undo, redo, revisions, autosave.
[Feature] Saving
Related to saving functionality
Needs Dev
Ready for, and needs developer efforts
Needs Technical Feedback
Needs testing from a developer perspective.
[Type] Enhancement
A suggestion for improvement.
Gutenberg has a "local autosave" feature that ensures your content is stored in the browser storage if at any point the internet connection breaks. Imagine this happens on
/wp-admin/post-new.php
for a new post that doesn't have an ID assigned yet. If you lose a connection, write a long post, close the browser, and then return later, then you will see the following notice:(Note this only works with #23928 applied).
Clicking the button hydrates the editor with the backed up post content.
Now, let's imagine this happens multiple times or in multiple tabs.
At the moment only a single ID-less (auto-draft) local backup is handled - this means all the other ones are lost. What is the right solution here? I can see a few ways forward:
CC @mtias @shaunandrews @mcsf @youknowriad
Also relevant, the content-loss issue here: #23781
The text was updated successfully, but these errors were encountered: