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

WYSIWYG editor delete new lines inserted after a bulleted List

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 16.4.3, 15.10.13
    • WYSIWYG Editor
    • None
    • Unknown
    • N/A
    • N/A

    Description

      To reproduce,

      • Create a new page and in the content add a bulleted list with 3 items followed by 3 line breaks followed by a word, see screenshot :

      • Edit the page using the WYSIWYG editor and save it without any change using "Save & view" or "Save" button
      • Edit the page again using the wiki editor and notice the number of line breaks available after the bulleted list.

      Expected results : Nothing changed, there are still 3 line breaks after the bulleted list.

      Current results : One line break was removed after the bulleted list. Note that if you repeat the steps described above several times all the line breaks after the bulleted list will be removed until only one line break remains. See screenshot :

      Note that I only reproduce the issue when I have a list followed by line breaks, I don't reproduce the issue with the following content for example :

      Attachments

        1. page3.png
          page3.png
          150 kB
        2. page2.png
          page2.png
          265 kB
        3. page1.png
          page1.png
          83 kB
        4. page.png
          page.png
          1.61 MB

        Issue Links

          Activity

            People

              MichaelHamann Michael Hamann
              mouhb Mohamed Boussaa
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: