stackedit icon indicating copy to clipboard operation
stackedit copied to clipboard

How I lost all my work with StackEdit

Open dandv opened this issue 4 years ago • 8 comments

So I (re)discovered StackEdit yesterday and spent the whole day in its lovely interface importing Markdown files, updating them, writing new content etc. StackEdit stores all your files "in your browser", great.

image

This morning I was doing some debugging which messed up the cookies, so I did what I sometimes do in that case, Clear the cache/cookies/site data for the last hour:

image

I'm sure I'm not the only StackEdit user who's ever done this.

Here's the catch: I don't know if StackEdit autosaved something, but its IndexedDB (or wherever else it stores data), was also wiped out. Not just last hour (I didn't edit much during the last hour). Completely gone.

ALL MY WORK GOT WIPED OUT.

Now I fully understand the request for a desktop edition with real access to the filesystem (#323). I'm switching to Notable myself.

My last words: please consider adding a warning somewhere about Clearing browsing data. People do use that function not realizing its implications fully, and the loss potential is just too great.

dandv avatar May 21 '20 20:05 dandv

I'm not sure about longevity of any small service today so I'm using private GitHub repository as workspace for StackEdit. This way I also have history of edits to all files. But I don't know if this helps you with offline editing...

matrixik avatar May 24 '20 07:05 matrixik

StackEdit is a work editor, but I can't really figure out how to programatically export HTML or reliably save my work.

The whole markdown+github idea is very programmer-friendly, but then, saving/exporting is manual and has to be done via point-and-click?

I though it was just the online demo, but the dockerised version is the same. Looks like the whole "saving" idea is still missing.

WhyNotHugo avatar Jun 23 '20 20:06 WhyNotHugo

I don't think you should rely on StackEdit's cookies for storing your work. Either use the Sign in with Google or keep a backup on your computer.

Yash-Singh1 avatar Aug 21 '20 17:08 Yash-Singh1

Yeah, not a fan of having to create a google account just to save stuff on StackEdit, sorry.

WhyNotHugo avatar Aug 21 '20 23:08 WhyNotHugo

This happened to me as well... I'm assuming nobody here knows a way how I might go about recovering my data in this situation, right?

Iwaslazkis avatar Aug 10 '21 05:08 Iwaslazkis

@Iwaslazkis Sorry, but it's unlikely it can be recovered. Data is saved in ephemeral browser storage only, and due to the way this storage works,once it's deleted it's extremely unlikely it can be recovered.

Unless you'd manually saved to GitHub or Google, I'm sorry to say it's gone.

WhyNotHugo avatar Aug 10 '21 07:08 WhyNotHugo

I somewhat expected that to be the case... thanks for explaining in some more detail, I'll make sure to back it up this time around.

Iwaslazkis avatar Aug 12 '21 00:08 Iwaslazkis

i just started using its very good that i can just auto sync my hugo site content folder with my friends using github

i just need to add them as collaborators and give them a link

(to make their life easier I just use a trick by copying the url of my workspace and give it to them so they don't have to specify the folder or the repo url they just athorize their account and bam they can edit )

honstly I was testing many ways to sync these markdown files but ig this is the best way to do so...also its very annoying that i have to navigate to the workspace folder everytime so i used Pwa builder website to package the website and set the base url to my workspace url and install the apk and when i launch the app it sends me to my workspace that i want

also there is this annoying browser navbar that shows up when you inside even the offical pwa when you go to any workspace that isn't the main one

this problem is because of the .wellknown/assetslinks.json

or because the website is opening every link on a new page insted of navigating to it

sanabel-al-firdaws avatar Dec 10 '23 10:12 sanabel-al-firdaws