You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A user reports that changes disappear mysteriously while she edits a page.
While poking around, I noticed that pressing the Esc key while editing a rich text field causes the field to lose focus and also revert changes. I suspect that's what causes the issue.
Steps to Reproduce
Click in a rich text field in the wagtail edition interface
Make changes
Press Esc
Since the user may have put significant effort into making changes, it's a bit cavalier to destroy changes without warning on a single keypress.
Wagtail warns when navigating out of an edit page without saving, showing that it attempts to prevent such data loss.
The scenario I'm describing here is more problematic because there's no way to recover the data. You can't go back once you hit Esc.
I'm not sure what the best behavior is but I'm pretty sure that silently dropping changes isn't optimal.
Technical details
Python version: 3.5
Django version: 1.10
Wagtail version: 1.6.2
Browser version: latest Chrome (I couldn't find where Chrome shows its version)
The text was updated successfully, but these errors were encountered:
Issue Summary
A user reports that changes disappear mysteriously while she edits a page.
While poking around, I noticed that pressing the Esc key while editing a rich text field causes the field to lose focus and also revert changes. I suspect that's what causes the issue.
Steps to Reproduce
Since the user may have put significant effort into making changes, it's a bit cavalier to destroy changes without warning on a single keypress.
Wagtail warns when navigating out of an edit page without saving, showing that it attempts to prevent such data loss.
The scenario I'm describing here is more problematic because there's no way to recover the data. You can't go back once you hit Esc.
I'm not sure what the best behavior is but I'm pretty sure that silently dropping changes isn't optimal.
Technical details
The text was updated successfully, but these errors were encountered: