Description
Steps to reproduce:
- Install XWiki (17.10.3, also tested to happen in 17.10.2)
- Open a page and edit it
- Add a table
- Use any of the following table actions: "Insert Row After", "Cell" -> "Merge Cells" or Column -> "Delete Columns"
Expected results:
I can click "Undo" to revert the change, for example reverting the merged cells.
Actual result:
I cannot undo the table action. "Undo" button stays gray.
If I write text to editor after my table action, I am able to click "Undo". If I do, it reverts both the added text and the table action that was made before.
Possible cause:
When I write text into editor, I can see a number of messages like this in the browser console:
[Saver] Push local states: ...
When I do table actions, these messages do not appear. It seems that the editor is not recognizing that the table action has been made.