I think the conclusion here is that it can cause more troubles than it's worth.
Since localstorage is shared across domains, we'd be "polluting" the localstorage of the whichever domain the editor is running under. We'd not be able to guarantee that there's space in there either, so it would probably not work reliable on sites utilizing localstorage for e.g. caching.
For the electron app, a simple load/save file would be better.
I think the conclusion here is that it can cause more troubles than it's worth.
Since localstorage is shared across domains, we'd be "polluting" the localstorage of the whichever domain the editor is running under. We'd not be able to guarantee that there's space in there either, so it would probably not work reliable on sites utilizing localstorage for e.g. caching.
For the electron app, a simple load/save file would be better.