Bug 5036 - Hitting enter to insert new LI inside contentEditable UL can result in uneditable LI
Summary: Hitting enter to insert new LI inside contentEditable UL can result in unedit...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: David Harrison
URL:
Keywords: HasReduction
Depends on:
Blocks:
 
Reported: 2005-09-18 02:28 PDT by nono
Modified: 2006-03-13 09:16 PST (History)
0 users

See Also:


Attachments
an example (113 bytes, text/html)
2005-09-18 02:29 PDT, nono
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description nono 2005-09-18 02:28:59 PDT
Put the cursor at the end of the last line then type Enter.
It will create a new <li> but you won't be able to modify its text.

Put the cursor at the end of the last line BUT before the last character then type Enter.
Now you'll be able to modify the newly created <li>

There's the same problem if you put the cursor at the begining of the first line.

good luck
Comment 1 nono 2005-09-18 02:29:46 PDT
Created attachment 3930 [details]
an example
Comment 2 Mark Rowe (bdash) 2005-09-18 03:37:33 PDT
Confirmed with ToT and WebKit 412.7.
Comment 3 Brendan Farr-Gaynor 2005-12-15 19:55:29 PST
Support for generating these types of lists is also notably missing from execCommand(), is this on a list of 
to do's anywhere? 

Link, and photo support would be great as well. Getting safari to work in the WYSIWYG web editor world 
has been a challenge (if not completely impossible).  
Comment 4 Justin Garcia 2006-02-13 21:56:37 PST
Dave's working on this.
Comment 5 David Harrison 2006-02-15 09:17:58 PST
Yes, it should already be somewhat better in current sources.  There are some odds and ends I'm still working on, and expect to have in this week.
Comment 6 Justin Garcia 2006-03-12 18:42:24 PST
Dave is this fixed now?
Comment 7 David Harrison 2006-03-13 09:05:31 PST
Yes, as a result of the list fixes over the last couple months.
Comment 8 David Harrison 2006-03-13 09:08:11 PST
(note that typing the return key on an empty list item ends the list, per the design)