🏠 back to Observable

Warn before reloading if unsaved cells

I just wrote a bunch of markdown into a cell and accidentally clicked Command+R before the cell changed and lost all I had written. It would be cool if Observable could intercept Cmd+R and check for any unsaved cells, and do the “Are you sure?” alert before allowing the reload (or close window/tab for that matter) to prevent this, given that the auto-save behavior is based on de-focus or running the cell.


Also see my previous post about this topic,

I made a github issue about this:

1 Like