Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-24066

Editor table actions are not revertable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 17.10.2, 17.10.3
    • CKEditor
    • Unknown

    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.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            Wikiveisaa Lari
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: