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

Delete at the end of a second level list item before a paragraph creates new empty first level list item

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.9, 2.0 M1
    • 1.8 RC1
    • WYSIWYG Editor
    • None
    • Internet Explorer
    • Unknown

    Description

      In wiki editor, type:

      * foo
      ** bar
      
      After
      

      edit in wysiwyg, go to the end of bar and hit the delete key. The result will be something like:

      * foo
      *
      ** barAfter
      

      This happens because the behavior of the delete is the default browser behavior, which moves the content up but also messes up the inner list, moving it as a child of the first level list. The valid XHTML recovery mechanism transforms this in an empty list item.

      Attachments

        Activity

          People

            lucaa Anca Luca
            lucaa Anca Luca
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: