This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-001d72a5-611b-477b-9d41-70cbbc25c28a XWIKI-24066 Open

Editor table actions are not revertable

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-00321a13-185d-4aff-b46f-9e4094742ca7 Lari created this issue on 26/Feb/26 10:30
 
Summary: Editor table actions are not revertable
Issue Type: cid:jira-generated-image-avatar-001d72a5-611b-477b-9d41-70cbbc25c28a Bug
Affects Versions: 17.10.2, 17.10.3
Assignee: Unassigned
Attachments: 1before_merge_cells.png, 2after_merge_cells.png
Components: CKEditor
Created: 26/Feb/26 10:30
Labels: table
Priority: cid:jira-generated-image-static-major-1cc76e4c-9850-47a8-bf7f-f9a50d248f46 Major
Reporter: Lari
Description:

Steps to reproduce:

  1. Install XWiki (17.10.3, also tested to happen in 17.10.2)
  2. Open a page and edit it
  3. Add a table
  4. 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.