Ticket #5938 (new New Feature)

Opened 4 years ago

Last modified 4 years ago

Enter into dt/dd elements should toggle these tags

Reported by: karena Owned by:
Priority: Normal Milestone:
Component: UI : Enter Key Version: 3.3.1
Keywords: Discussion Cc:

Description

Enter at the end of DT element should create new DD element and vice versa.

Change History

comment:1 Changed 4 years ago by karena

  • Component changed from General to UI : Enter Key

comment:2 Changed 4 years ago by tobiasz.cudnik

  • Keywords Discussion added

I would agree about DT, but for DD the bahavior of creating new LIs would be better i think. Many people may won't to have several DDs for one DT.

comment:3 Changed 4 years ago by fredck

We still need to provide support for DT/DD in general, but regarding the ENTER key specifically, I think the best solutions is:

  • When on DT, ENTER creates a DD after it.
  • When on a DD, ENTER creates another DD after it.
  • When on an empty DD, ENTER creates a DT after it.
  • When on an empty DT, ENTER replaces it with a normal paragraph.

In this way, it would work much like lists.

At the same time, we should have context menu options to switch DT to DD and vice versa.

comment:4 Changed 4 years ago by alfonsoml

Yes, before working this kind of details we should have some basic support for those elements because IIRC they are quite broken in some version of IE, and having the basics covered will save lots of efforts here.

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