Ticket #165 (closed Bug: fixed)

Opened 21 months ago

Last modified 21 months ago

FCKListHandler.OutdentListItem must honor FCKConfig.EnterMode

Reported by: fredck Owned by:
Priority: Normal Milestone: FCKeditor 2.4.1
Component: General Version: FCKeditor 2.4
Keywords: Confirmed Cc:

Description

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.

Change History

Changed 21 months ago by fredck

#155 proposes a (partial) patch for it.

Changed 21 months ago by fredck

  • status changed from new to closed
  • resolution set to fixed

Fixed with [211].

Click here for more info about our SVN system.

Note: See TracTickets for help on using tickets.