Copy/Paste a Table in a Comment or other Page can strip the Table Headers Content

XMLWordPrintable

    • 3
    • Severity 3 - Minor
    • 2

      Problem

      Manually (using OS clipboard) Copy/Paste a table from a page to another content such as Comment or Page can strip header information.

      Environment

      Reproduced in Confluence 8.5.9

      Steps to Reproduce

      1. Create a Page on which you define a 4x2 Table
        • I am adding the default storage format generated for my Confluence 8.5.9 instance
          <table class="wrapped">
            <colgroup>
              <col/>
              <col/>
              <col/>
              <col/>
            </colgroup>
            <tbody>
              <tr>
                <th scope="col">test1</th>
                <th scope="col">test2</th>
                <th scope="col">test3</th>
                <th scope="col">test4</th>
              </tr>
              <tr>
                <td>1</td>
                <td>2</td>
                <td>3</td>
                <td>4</td>
              </tr>
            </tbody>
          </table>
          
      1. Copy the table manually using keyboard shortcut such as CTRL+C or Mouse right click>Copy
      2. Paste/CTRL+V the content in another Comment or page

      Expected Results

      The copy/paste + save content operations should preserve the header information of the table

      Actual Results

      The copy/paste + save content operations are not preserving the header information of the table

      Workaround

      Copying the entire page could be an alternative or manually adding back the header information.

      Update: Another found alternative is to copy the table in Edit mode from the source page. This maintains the format and headers.

      Notes

      Recording attached for reference

            Assignee:
            Unassigned
            Reporter:
            Pascal Oberle
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: