Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-54781

Copy and Paste table with Numbering Column in View Page is broken

    XMLWordPrintable

Details

    Description

      Summary

      Copy and Paste table with Numbering Column in View Page mode is broken

      When copying multiple rows from a table with Numbering Column enabled, pasting it on another page's Edit Page mode will result in all copied rows to paste into one single row

      Steps to Reproduce

      1. Create a table with multiple rows (with or without header)
      2. Insert some information into the tables
      3. Insert numbering column
      4. Save the Page
      5. Highlight and copy several rows of data in the table from the view page
      6. Edit any other page and paste the copied table into the page

      Expected Results

      Copied rows and columns are pasted as what the original table looks like (multiple rows)

      Actual Results

      all data is pasted into a single row

      Note

      This is the Storage Format of my example table with numbering column

      <p class="auto-cursor-target"><br /></p>
      <table><colgroup><col /><col /><col /></colgroup>
      <tbody>
      <tr>
      <td class="numberingColumn">1</td>
      <td>a</td>
      <td>b</td></tr>
      <tr>
      <td class="numberingColumn">2</td>
      <td>c</td>
      <td>d</td></tr></tbody></table>
      <p><br /></p>
      

      Refers to the attached video for the details of replicating the bug:
      Firefox Copy Paste Table.mp4
      Tested on Chrome Version 63.0.3239.132 (Official Build) (64-bit) and content cannot be pasted correctly as well

      Workaround

      Copy the tables in Edit Page mode instead

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              btan@atlassian.com Damien Tan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: