Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-16248

Buttons that creates newline in WikiEditor doesn't preserve existing lines

    Details

    • Tests:
      Integration
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Steps to reproduce:

      • Create a new page in WikiEditor with highlight disabled
      • Type "a", enter to create a new line and "b"
      • Place the cursor next to "a" and insert an horizontal rule through the button

      Expected result:

      • The content should be:
        a
        ----
        
        b
        

      Obtained result:

      • The content is:
        a
        ----
        b
        

      The newline between a and b is overridden by the one created by the new horizontal rule.

        Attachments

          Activity

            People

            • Assignee:
              surli Simon Urli
              Reporter:
              surli Simon Urli
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: