When using a GeoGebra widget, if the user decides to activate and then deactivate preview mode, any subsequent changes made to the widget are not saved. This can cause data loss and confusion.
Steps to reproduce
- Insert a GeoGebra widget
- Make some changes, e.g. add the function f(x) = x^2
- Activate preview mode
- Deactivate preview mode
- Make further changes, e.g. add another function g(x) = x^3
- Activate preview mode again
- See that the changes made after deactivating preview mode were not saved
Expected behavior
Changes to the GeoGebra widget should be saved normally after switching in and out of preview mode.