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 #153313: ckeditor input is lost when using the browser's back button lands in Drupal core, it might be nice to have a backport version of this functionality. This also might be nice for maintenance since it wouldn't do anything differently than core does.
Comments
Comment #1
Crell CreditAttribution: Crell commentedI don't know what "nice for maintenance since it wouldn't do anything differently than core does" means here. D8's APIs are different enough that a backport would still have to do work. :-)
That said, I'm definitely open to localStorage for non-node pages and adoping whatever gets into D8 as the approach makes total sense. I don't understand the JS code involved well enough to write it, but can review/commit patches and/or grant someone commit access to do the backport directly.
Comment #2
minorOffense CreditAttribution: minorOffense commentedI needed to use garlic for a client site we're building. Just really basic usage. I create a library module out of it and posted it on d.o if you're interested to use it with autosave.
Save you a few lines of code ;-)
http://drupal.org/project/garlic