]> git.mxchange.org Git - friendica.git/commit
Saving the post content using localstorage
authorloma-one <44441246+loma-one@users.noreply.github.com>
Mon, 16 Sep 2024 16:22:58 +0000 (18:22 +0200)
committerGitHub <noreply@github.com>
Mon, 16 Sep 2024 16:22:58 +0000 (18:22 +0200)
commit54370319fe2ab297835c16da84d5b21b209ac2d2
tree66fa597b9cb35a92d59cb41198fb00e3f00e6b33
parent9a224a8ca9322ec962703cb96d5a93e174285ec0
Saving the post content using localstorage

If a post is created and the browser window crashes or the Composer window is hard-closed in some other way, all content is lost. Content is now saved temporarily so that it can be displayed again when the browser is restarted.

The content in the localstorage is discarded after 10 minutes after the editor has been exited.

The system now checks whether the editor field is filled. If there are no characters, there is no reload check.
view/templates/item/compose.tpl