Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-7132

When I retrograde a list item, it should not lost the <li> tag but just jump it to the previous level

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • 4.2.0
    • 3.8
    • Inline Editor
    • None

      How to reproduce :

      • create a list with 3 levels like this :
        <ul>
          <li>First level</li>
          <li>first level
            <ul>
              <li>second level
                <ul>
                  <li>thirs level</li>
                </ul>
              </li>
            </ul>
          </li>
        </ul>
        
      • Then go to the second level and retro grade to the previous level
        > the <li> tag of the item is replaced by 2 <br> tags.
        <ul>
          <li>First level</li>
          <li>first level
            <br><br>second level
            <ul>
              <li>thirs level</li>
            </ul>
          </li>
        </ul>
        

      The <li> of the element should not desapears but only go to the previous <ul> tag.

      This was the inline editor behavior of the 3.7 version of the CMS.

          [CMS-7132] When I retrograde a list item, it should not lost the <li> tag but just jump it to the previous level

          seems ok to me in v4

          Raphaël Franchet added a comment - seems ok to me in v4

          No easy fix could be done with the currently used version of tinymce.
          Try to do something with the lastest version of tinymce in 4.0

          Laurence Aumeunier added a comment - No easy fix could be done with the currently used version of tinymce. Try to do something with the lastest version of tinymce in 4.0

          Laure Lopez added a comment - - edited

          Moreover, it does not work correctly when upgrading to a new level : It create the <ul> element outside of the <li> element.

          Note that, if I save and close the content then open it again, all elements are in the good place.

          Laure Lopez added a comment - - edited Moreover, it does not work correctly when upgrading to a new level : It create the <ul> element outside of the <li> element. Note that, if I save and close the content then open it again, all elements are in the good place.

            Unassigned Unassigned
            llopez Laure Lopez
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: