mathdown
mathdown copied to clipboard
Default text may OVERWRITE existing text
I created a new document, which was surprisingly empty.
Typed several lines.
Then saw them disappear and the default # Untitled ...
text replaced them :-(
Luckily, Ctrl+Z twice brought my text back.
Anat also said it has happened to her.
Probably a race condition, may be related to slow loading (cold cache + bittorrent running).
My first instinct was to set CodeMirror's readOnly option until firepad initializes. But then you can't write anything offline until you connect to firebase. (There are other problems with working offline — #51.)
plan: take the read-only-until-loaded fix for now, leave offline for later (missing feature is better than bug)