Skip to content
Snippets Groups Projects
Commit bbffab06 authored by rhenck's avatar rhenck
Browse files

[editor] Add undo function

Only works for a few commands (mainly page and section stuff).

- Adds new menu to page-bar, which shows issued change commands with a 
button to rollback the latest change.
- Added warning to the UI element that this is a experimental feature 
and can destroy units.
- Undo is done by having the normal function to apply the change to the 
unit-object and another to undo this change. The HistoryService manages 
the list and calling rollack (via UnitService).
- Further refactiring to the unit services.
parent b0780ef1
No related branches found
No related tags found
No related merge requests found
Pipeline #59605 failed
Showing
with 198 additions and 91 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment