[Webkit-unassigned] [Bug 87330] New: Copy / paste inside PRE element re-inserts PRE element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 23 18:50:50 PDT 2012


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

           Summary: Copy / paste inside PRE element re-inserts PRE element
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows 7
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jaroslav.benc at gmail.com


<pre contentEditable="true">copyAndPasteMe</pre> results in: 

<pre style="border:1px solid black">
    <pre style="border: 1px solid black; ">
copyAndPasteMe
    </pre>
</pre>

when copyAndPasteMe is selected/copied/pasted

Visually same result: 
<div style="white-space:pre" contentEditable="true">copyAndPasteMe</div>

so there is no workaround

Note that it works well when pasting as plain text.

Online example: http://coderun.com/ide/ (create a file and copy/paste)

Not sure when this started, tested in Chrome 19+

-- 
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