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

Pasting single digit decimal numbers in new editor results in numbered list replacing the first digit

    XMLWordPrintable

    Details

      Description

      Issue Summary

      When pasting single digit decimal numbers into the new editor (either from an external source or even from the old editor), the 1st digit is replaced with a numbered list.

      Example

      1.5 -> 1. 5

      3.6 -> 1. 6

      5.7 -> 1. 7

      Clicking off the Numbered List button in the editor does not correct the issue. It will simply remove the numbered list and leave only the digits after the decimal. 

      Steps to Reproduce

      1.  Create a page in the new editor
      2. Create a page in the old editor
      3. Make a list of single decimal digits (e.g. 4.5, 2.7, 3.6, etc.) (Does not need to be a list, can be a single number.)
      4. Copy the numbers, and paste them into the page on the new editor.

      Expected Results

      Numbers should be pasted without formatting into a numbered list.

      Actual Results

      The numbers will automatically be converted into a numbered list.

      Old Editor:

      New Editor:

      Workaround

      Pasting directly into a code snippet does retain the original values. In addition, copying from a raw text editor also appears to work.

      Notes

      • Many users may report this as an issue with copying and pasting tables from Excel, or tables from pages that are using the Old Editor.
      • I can confirm that the issue persists without pasting from a table or list. You could paste a single number and it will still auto-convert.
      • Pasting without formatting (e.g. CMD+SHIFT+OPTION+V on macOS) does not work to avoid the formatting.
      • Clicking off on Numbered List only will remove the numbered list, but will not correct the issue (i.e. 5.7 which has been changed to 1. 7 will only revert back to 7)
      • Attempted to disable auto-formatting in personal editor settings, but no change.

       

        Attachments

        1. new-editor.png
          new-editor.png
          25 kB
        2. old-editor.png
          old-editor.png
          28 kB

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              smackie@atlassian.com Shannon
              Votes:
              23 Vote for this issue
              Watchers:
              24 Start watching this issue

                Dates

                Created:
                Updated: