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

Crell’s picture

I 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.

minorOffense’s picture

I 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