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

Inserting First Empty Newline at End of Row when Editing Code Macro is Not Added

    XMLWordPrintable

Details

    Description

      A sample of code macro is created in Google Chrome. (see img1.PNG)

      When edit and adding newlines at the end of the row (point your word cursor to the end of the row, then press enter), the first newline entered is not added, the second newline entered works. Scenario affects Google Chrome, IE11, IE10, IE9.

      For Firefox 31, the first newline entered becomes a space instead in edit(see image firefox2.PNG)

      Steps to Reproduce:
      1. Create a simple code macro in a new page with LINE1, LINE2, and save.

      LINE1
      LINE2
      

      2. Edit the page. Add a new line between LINE1 and LINE2 and save.

      LINE1
      
      LINE2
      

      Expected: newlines are added between line codes

      Result: 1st newline is not added

      However, if you insert a newline between LINE1 and LINE2 with contents, the newline exist and will be saved. Inserting newline between the line of words works as expected.

      Attachments

        1. chrome1.PNG
          chrome1.PNG
          91 kB
        2. chrome2.PNG
          chrome2.PNG
          71 kB
        3. firefox1.PNG
          firefox1.PNG
          81 kB
        4. firefox2.PNG
          firefox2.PNG
          71 kB
        5. ie11-1.PNG
          ie11-1.PNG
          87 kB
        6. ie11-2.PNG
          ie11-2.PNG
          67 kB
        7. img1.PNG
          img1.PNG
          94 kB
        8. newline.mp4
          2.33 MB

        Activity

          People

            Unassigned Unassigned
            eho Edwin Ho (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: