[Webkit-unassigned] [Bug 21436] ctrl+enter doesn't insert <br> in a contentEditable list

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 20 04:17:24 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=21436





------- Comment #3 from vijay.manchana at gmail.com  2009-05-20 04:17 PDT -------
Hi,

I have been analysing the bug and here are some of my observations:

'Shift+ Enter' is the key combination to be used for entering a <br> tag in
HTML.

In WebKit\win\webview.cpp, there is an array of key press
entries(keyPressEntries[]) defined.
In this array, the above said key combination is missing. So we need to add the
following line to the array.

{ '\r',   ShiftKey,                       "InsertNewline"                      
        },

This addition will insert an <br> tag.

Best Regards,
Vijay M


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list