Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-7084

Xinha: nested lists are broken after a save

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.22.15, 2.24.02, 2.26.00
    • 2.26.00-alpha-1, 2.26.00
    • None

    Description

      Nested listed can not be indent/outdented after a save. This is because Xinha delegates the indent/outdent action to the browser's execCommand which produces invalid HTML (all browser do except for Opera). After a save the HTML is fixed by the HTMLcleaner after which Xinha doesn't know how to do indent/outdent anymore.

      The only solution to this is write a custom indent/outdent for ul and ol elements, like this one: https://raw.github.com/dojo/dojox/master/editor/plugins/NormalizeIndentOutdent.js

      Attachments

        Issue Links

          Activity

            People

              jsheriff Junaidh Kadhar Sheriff
              abogaart Arthur Bogaart
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: