[Webkit-unassigned] [Bug 109940] New: Can't escape blockquote in contenteditable

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 15 07:49:15 PST 2013


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

           Summary: Can't escape blockquote in contenteditable
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
               URL: http://jsfiddle.net/k3vfp/
        OS/Version: Mac OS X 10.8
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: other at sicanstudios.com


Steps to reproduce:
============
Created a <blockquote> element inside a div with contenteditable=true.

Actual results:
=========
When you try to change to new line and escape the <blockquote> by pressing Enter key, it creates a new <blockquote>.

Expected results:
==========
When pressing Enter key at the end of the <blockquote>, it should close the <blockquote> and create a new <p>. If not, you can never escape the <blockquote>. 

Check out the demo: http://jsfiddle.net/k3vfp/

The only hack I found, was to create a new <p> under it and go back up and then create the <blockquote>.

So, the desired outcome would be:
1) upon Enter key, close the <blockquote> and create a new <p> or <div> under it.
2) upon Shift+Enter key, create <p> or <div> inside the <blockquote>.

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



More information about the webkit-unassigned mailing list