- Issue created by @jv24
The autosave functionality on form change is not working as expected when the "Run only on form change" setting is enabled. I understand that this feature is currently "experimental" in the current version. This setting is highly requested by Drupal authors I work with as the timing mechanism is good but doesn't capture changes sometimes unless the timer is short.
Note: The provided patch may address specific use cases for my needs only, but I am hopeful that this could initiate a broader discussion towards making the feature more functional for all entities configured for autosave.
Again, the above may target my specific cases. For instance, the patch includes factoring in nested/collapsed paragraphs and some JS included here specifically is to reinitialize the Autosave to work for nested CKEditors.
Part of the patch is merely migrating some functions to a higher level to make it easier to reference elsewhere in the file.
No visible UI changes are expected. However, users should notice a difference in the autosave behavior, where autosaves now occur only when changes are detected.
No API changes are expected.
No data model changes are expected.
If there happens to be another thread I've missed that targets this specific issue, please tag it here as I couldn't find a thread that relates.
Active
1.6
Code