Opened 10 years ago

Closed 9 years ago

#67 closed Bug (duplicate)

Properly handle EnterMode=br and lists

Reported by: FredCK Owned by: martinkou
Priority: Normal Milestone: FCKeditor 2.5 Beta
Component: UI : Enter Key Version:
Keywords: SD-COE Cc: pkdille, Jyhem, nyloth

Description

When EnterMode='br', we must properly handle the creation of lists with IE.

Every line separated by a <br> must be transformed in a single <li>. Also, when removing the list, every <li> must be transformed in texts separated by <br>.

Today, every block is transformed to <li> and <p> is created when removing the list.

Change History (10)

comment:1 Changed 10 years ago by FredCK

  • Component changed from General to UI : Enter Key

comment:2 follow-up: Changed 9 years ago by kwillems

I was thinking about this behaviour of the ENTER-key.
To my opinion it should always be possible to put a single <br /> in a <li>.
See also my ticket # 90.

Regards,
Koen Willems

comment:3 in reply to: ↑ 2 Changed 9 years ago by fredck

Replying to kwillems:

I was thinking about this behaviour of the ENTER-key.
To my opinion it should always be possible to put a single <br /> in a <li>.
See also my ticket # 90.

Regards,
Koen Willems

Actually this ticket is related to the creation of lists over a content where each paragraph is separated by a <br> (EnterMode=br). When selecting more than one paragraph to transform them in a list, each one must result in a separated <li>. Also, when removing the list, each <li> must result in text plus a <br>.

The <br> creation inside <li> must be done with Shift+Enter, but this is another issue.

comment:4 Changed 9 years ago by fredck

#301 is a DUP of this one.

comment:5 Changed 9 years ago by fredck

#262 has been marked as a DUP.

comment:6 Changed 9 years ago by fredck

  • Cc Pascal.KUSTNER@… added
  • Keywords SD-COE added

comment:7 Changed 9 years ago by fredck

  • Cc jean-marc.libs@… patrice.weber@… added

comment:8 Changed 9 years ago by fredck

  • Cc pkdille Jyhem nyloth added; Pascal.KUSTNER@… jean-marc.libs@… patrice.weber@… removed

comment:9 Changed 9 years ago by martinkou

  • Owner set to martinkou
  • Status changed from new to assigned

comment:10 Changed 9 years ago by martinkou

  • Resolution set to duplicate
  • Status changed from assigned to closed

I've opened #1178 as a collection of list problems that are significant for v2.5.

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