FCKListHandler.OutdentListItem must honor FCKConfig.EnterMode
|Reported by:||fredck||Owned by:|
In FCKListHandler.OutdentListItem, if a list item doesn't have more "hierarchy" to outdent, it creates a <p> with the contents of the item.
Its behavior should instead be controlled by the EnterMode setting:
- EnterMode = 'p' : a <p> is used (like today)
- EnterMode = 'div' : a <div> is used (like today)
- EnterMode = 'br' : the parent <ul>/<ol> is closed/broken and the <li> contents are moved right after it, without a block tag surrounding it.