Undo Redo issues
Posted: Tue Apr 02, 2024 3:22 pm
Hi Everyone,
We use the version 25.0.0.0 of oxygen sdk.
We use your actions for undo and redo management thanks to :
and
But we faces issues when we change from Author view to Text view.
Here the use case :
- On the Author view, make some changes in the document
- Switch to Text view
- Undo with Ctrl + Z keys or menu action
- All the changes are deleted, not only the last one.
Moreover if you switch again to Author view you can not anymore make undo / redo.
You have to go back to Text view to make a Redo (with Ctrl + Y keys or menu action) to retrieve all your previous changes.
But even then, you can not make undo / redo on Author view.
Were you aware of this issue ?
Have you a workaround for this ?
Thanks,
Regrads,
Isabelle
We use the version 25.0.0.0 of oxygen sdk.
We use your actions for undo and redo management thanks to :
Code: Select all
((WSAuthorEditorPage) wsEditorAccess.getCurrentPage()).getActionsProvider().getAuthorCommonActions();
Code: Select all
((WSTextEditorPage) wsEditorAccess.getCurrentPage()).getActionsProvider().getTextActions();
Here the use case :
- On the Author view, make some changes in the document
- Switch to Text view
- Undo with Ctrl + Z keys or menu action
- All the changes are deleted, not only the last one.
Moreover if you switch again to Author view you can not anymore make undo / redo.
You have to go back to Text view to make a Redo (with Ctrl + Y keys or menu action) to retrieve all your previous changes.
But even then, you can not make undo / redo on Author view.
Were you aware of this issue ?
Have you a workaround for this ?
Thanks,
Regrads,
Isabelle