Bug 13959 - contenteditable lists SHIFT RETURN adds new bullet point
Summary: contenteditable lists SHIFT RETURN adds new bullet point
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL: http://www.smilecms.com/webkit/list.html
: 21430 (view as bug list)
Depends on:
Reported: 2007-05-31 20:51 PDT by Peer Bremer
Modified: 2008-12-28 22:32 PST (History)
4 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
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. ***