Opened 17 years ago

Closed 17 years ago

#165 closed Bug (fixed)

FCKListHandler.OutdentListItem must honor FCKConfig.EnterMode

Reported by: Frederico Caldeira Knabben 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 17 years ago by Frederico Caldeira Knabben

#155 proposes a (partial) patch for it.

comment:2 Changed 17 years ago by Frederico Caldeira Knabben

Resolution: fixed
Status: newclosed

Fixed with [211].

Click here for more info about our SVN system.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy