Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-71380

Excel tables with numbers or hyphen and break lines cannot be pasted into editor

    XMLWordPrintable

Details

    Description

      Issue Summary

      • When an Excel/Google Sheets table or cell contains a number/hyphen and a line break, the content of the cell cannot be pasted into the Confluence current edit.
      • If the number/hyphen or the line break is removed, the table can be pasted without any issues.

      Steps to Reproduce

      1. Create a new Excel/Google Sheets file.
      2. Add the following into a cell.
        • 1. Some
          Text
          
        • To enter a line break in Excel
          • For Windows – ALT + Enter.
          • For Mac – Control + Option + Enter.
      1. Copy and paste the cell into an editor in Confluence.

      Expected Results

      • The content is copied into the editor as a table.

      Actual Results

      • Nothing happens when we paste the values in.
      • The following request is seen in the Network tab, which seems to indicate that the paste worked without any issues.
        • Request URL: <SITE>.atlassian.net/gateway/api/gasv3/api/v1/batch
        • {"success":true,"validationErrors":null,"message":null,"code":0}

      Workaround

      1. We can work around the issue by either,
        1. Removing the dot, "." next to the number.
        2. Removing the line break.
        3. Adding another number after the line break.
      2. For example,
        • Cannot be pasted
          • 1. Some
            Text
            
        • Can be pasted
          • 1 Some
            Text
            
        • Can be pasted
          • 1. Some
            2. Text
            
        • Can be pasted
          • 1. Some Text
            

      Attachments

        Activity

          People

            Unassigned Unassigned
            smaran Sattesh M
            Votes:
            7 Vote for this issue
            Watchers:
            14 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: