Bug 13959

Summary: contenteditable lists SHIFT RETURN adds new bullet point
Product: WebKit Reporter: Peer Bremer <peer>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: dev+webkit, justin.garcia, mitz, rperry
Priority: P2    
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   
URL: http://www.smilecms.com/webkit/list.html

Description Peer Bremer 2007-05-31 20:51:56 PDT
When using a list inside a content editable div, Shift Return adds a new bullet point (as would pressing RETURN alone) but should only insert a <BR> and add a new line without a bullet point dot.
Comment 1 mitz 2007-05-31 23:04:10 PDT
Shift-Return creates a new list item in Tiger TextEdit too, so I don't think that's a problem (or something that should change). However, Option-Return and Option-Enter do insert a newline in the current list item in TextEdit but not in WebKit, so that may be a bug.
Comment 2 Dave Hyatt 2007-05-31 23:06:48 PDT
I think it should.  SHIFT+Return for contenteditable should put a <br> in.  Making a new list bullet is the wrong thing to do.  I'm not sure if we've implemented Shift+Return acting as a line break rather than a paragraph break everywhere though.

I view this as a bug.
Comment 3 mitz 2008-01-22 21:01:23 PST
See also bug 16973.
Comment 4 Robert Blaut 2008-12-28 22:32:15 PST
*** Bug 21430 has been marked as a duplicate of this bug. ***