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

Copying from a copied Table fails with a macro in the last column

    XMLWordPrintable

Details

    Description

      To replicate: Create 2x3 table with a Status lozenze in the Bottom Right hand cell.

      Select the table's contents (inside the table, from top left to bottom right) and paste as a new, second, table. (This works fine)

      Then select the contents of the second table in the same way (note that the selection only selects the top right cell), press Cmd-C, and then paste a third table. Note that the third table will only have the first (top-left) cell.

      See attached video!

      Workarounds:
      1. Select from outside the table (means you can't select only some rows)
      2. add a character after the macro (e.g. ".")

      Note the HTML differences:
      The original table:

      <table class="confluenceTable">
         <tbody>
            <tr>
               <th class="confluenceTh">a</th>
               <th class="confluenceTh"><br data-mce-bogus="1"></th>
            </tr>
            <tr>
               <td class="confluenceTd">b</td>
               <td class="confluenceTd"><img class="editor-inline-macro" height="18" width="88" src="/plugins/servlet/status-macro/placeholder?title=asdfasdf" data-macro-name="status" data-macro-parameters="title=asdfasdf" data-macro-schema-version="1"><br data-mce-bogus="1"></td>
            </tr>
         </tbody>
      </table>
      

      The copied table:

      
      <table class="confluenceTable">
         <tbody>
            <tr>
               <th class="confluenceTh">a</th>
               <th class="confluenceTh">&nbsp;</th>
            </tr>
            <tr>
               <td class="confluenceTd">b</td>
               <td class="confluenceTd"><img class="editor-inline-macro" height="18" width="88" src="https://extranet.example.com/plugins/servlet/status-macro/placeholder?title=asdfasdf" data-macro-name="status" data-macro-parameters="title=asdfasdf" data-macro-schema-version="1" data-mce-src="https://extranet.example.com/plugins/servlet/status-macro/placeholder?title=asdfasdf"></td>
            </tr>
         </tbody>
      </table>
      

      Attachments

        1. empty content.mov
          264 kB
          Mike Chau
        2. Table Copy Paste with Macro Bug.swf
          4.30 MB
          Henk Kleynhans
        3. withcontent.mov
          921 kB
          Mike Chau

        Activity

          People

            Unassigned Unassigned
            jkleynhans Henk Kleynhans (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: