Open t123 opened 9 years ago
I made a change, because obviously if it removes the saved post on submit and the site redirects that doesn't help at all. It now adds a restore button to the editor, so you may want to first merge the new editor in then see if this still works.
Also it only saves after 10 characters, just in case someone starts to type and then realises they want to restore.
This looks really interesting, and I'm sorry I haven't responded sooner (I got overloaded with personal and work stuff). This would make the forum a lot friendlier, and I appreciate your PR! I hope to get caught up on the merge backlog soon.
A javascript plugin to handle the "I almost lost my post" problem.
Stores the text for the message on a per forum/topic basis in localstorage, and cleans them on submit, or after a week.