[Webkit-unassigned] [Bug 26937] Copying and pasting into a contenteditable area can create <div>s surrounded by <span>s

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 31 12:22:23 PDT 2009


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





--- Comment #3 from Justin Garcia <justin.garcia at apple.com>  2009-07-31 12:22:21 PDT ---
In one document I have:

<style>div{font-family:Courier; font-size:small;}</style>
<div>one</div>
<div>two</div>

In another:

<div id="div" contentEditable="true"></div>
<input type="button" value="click"
onClick="alert(document.getElementById('div').innerHTML)">

I copy from the first and paste intot he second, then inspect the markup, and I
don't have the redundant span that you describe.  What am I missing?

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