Opened 9 years ago

Closed 9 years ago

#165 closed Bug (fixed)

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 (2)

comment:1 Changed 9 years ago by fredck

#155 proposes a (partial) patch for it.

comment:2 Changed 9 years ago by fredck

  • Resolution set to fixed
  • Status changed from new to closed

Fixed with [211].

Click here for more info about our SVN system.

Note: See TracTickets for help on using tickets.
© 2003 – 2016 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy