UNDO in notes on a Mac appears to function as DELETE
I've noticed this many times before, but this go round I managed to fully delete the content of a note I was working on. There wasn't that much content that having to rewrite it from scratch is catastrophic, but it's not all that cool either.
It seems that in the note editor (TinyMCE) on OS X, ⌘Z somewhat functions as the regular undo, but there's no redo if you undo-just-typed-text: the function just doesn't work. Worse, hitting undo again (hoping to, well, undo what you undone) seems to have the rather nasty effect of deleting text backward from the current cursor position to the start of that line. And I even managed to make it delete 2 whole paragraphs, headings and all. Frustratingly, because I had auto synchronisation on, I couldn't get to the previous version of the note online quickly enough to copy the text; my change/deletion beat me to it.
I suspect this is a glitch caused by running Firefox (+ TinyMCE) on OS X — ie, not Zotero's fault at all — but one to look out for anyway. Traps for young players I guess.
It seems that in the note editor (TinyMCE) on OS X, ⌘Z somewhat functions as the regular undo, but there's no redo if you undo-just-typed-text: the function just doesn't work. Worse, hitting undo again (hoping to, well, undo what you undone) seems to have the rather nasty effect of deleting text backward from the current cursor position to the start of that line. And I even managed to make it delete 2 whole paragraphs, headings and all. Frustratingly, because I had auto synchronisation on, I couldn't get to the previous version of the note online quickly enough to copy the text; my change/deletion beat me to it.
I suspect this is a glitch caused by running Firefox (+ TinyMCE) on OS X — ie, not Zotero's fault at all — but one to look out for anyway. Traps for young players I guess.
Is there either a fix to stop undo from going quite so far, or a best practice to avoid such mistakes (other than never making a mistake)?
Thank you
i was writing on a note and comparing the data with the content of another note when I hit the undo button twice and *voilà*, like mg6, one of them completely replaced the other. no can redo.
i've been working with the autosync turned off, so i was able to go online and retrieve what i had already written and saved. because i've been using the sync button as a save button... maybe that's one way to deal with that before future fixes...
Cmd-Y will trigger Redo in TinyMCE on a Mac. This is non-standard (on a Mac—I think that's the standard Windows shortcut), but we of course use Cmd-Shift-Z to open the Zotero pane. We might be able to have Cmd-Shift-Z trigger Redo in Standalone, where the pane shortcut isn't used.
We could also have Cmd-Shift-Z trigger Redo in Firefox when a note has focus, but I think that would be frustrating for people who want to take a note and quickly close the Zotero pane.