Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If you edit a node, then click "Preview", the "This form was autosaved" alert appears on the preview page load. This is confusing and distracting, but can be avoided with the attached patch (if supported by the theme). Clearly this may not be the best way to deal with the issue, but I wanted to point it out.
Comment | File | Size | Author |
---|---|---|---|
autosave_omit-preview.patch | 740 bytes | noelbush |
Comments
Comment #1
jcisio CreditAttribution: jcisio commentedThis should be handled at the server side, when the preview button is clicked.
Currently, when click on 'preview', the new page display 'view' or 'ignore'. The first restores the last saved data (not good), the latter clears the form (big mistake! it should not reset form).
Bump into critical, as it causes lost data.