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

Backport: Xinha: nested lists are broken after a save (CMS7-7084)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.24.03
    • 2.24.04
    • None
    • 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:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: