Saving & versioning
Every time you save an article it is saved as a new version. It is possible to restore an older version of the article. This is useful if you have made an inintended change, or overwritten someone else's changes by accident.
When to save?
H5mag does not automatically save your changes. To avoid losing work try to make it a habit to save often. When you press the Save button, you only save the current article. The reason the Save button does not save the entire edition, is because you can work together in an edition, and then you might overwrite changes from somebody else.
If you forget to save an article and switch to another one you will see a yellow dashed border around the article thumbnail. If you want to keep those changes, it is recommended that you go back and save the article, so your changes are not lost in case you accidentally close your browser window.
Where is the Undo function?
Unfortunately H5mag currently does not feature a global Undo feature. We're working on this though, and expect to release it this year (2022).
However, each input field has it's own undo functionality, provided by the browser/operating system. While editing in a text field you can undo and redo using your browser's functionality (by pressing Command/Control + Z).
The undo functionality does not work across input fields, and is unable to undo other actions. To avoid losing work, it is important that you press the Save button often, you can then undo your changes by reverting to an older version of the article (see below).
Restoring a previous version
After saving an article for the first time a version selector will above the save button. Every time you save, a new version will be added to the list.
To restore a previous version, simply select it from the list and click the Revert button.
The user name of the person who saved is also shown, this is useful when working together with other people, when there is a risk of overwriting each others changes.