Continuing the discussion from Deleting content blocks with content added should provide a warning (and posting on behalf of @fitzage there):
Our Structured Text editor actually has a built-in undo functionality. It can help with things like accidental block deletions:
However, there are some issues with how it’s currently set up:
- There is no undo button on the toolbar, so you have to know to hit
CTRL/CMD-Zin order to undo. - There may be some cross-browser differences in where the caret (the edit cursor) ends up after certain operations, like block deletions. In some browsers, it may be necessary to first manually click back into the Structured Text field before undo will work, even via the keyboard shortcut. (Affects Chrome but not Firefox. Need to check Safari too.)
We could be better about both situations, making the Undo functionality a more visible UI button and also making sure that operations don’t lose focus/edit position from the editor.