[Webkit-unassigned] [Bug 16661] New: Paste text into a contenteditable div creates a contenteditable div for each line
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Dec 29 00:44:25 PST 2007
http://bugs.webkit.org/show_bug.cgi?id=16661
Summary: Paste text into a contenteditable div creates a
contenteditable div for each line
Product: WebKit
Version: 525+ (Nightly build)
Platform: Macintosh
URL: http://www.smilecms.com/webkit/div_paste.html
OS/Version: Mac OS X 10.4
Status: UNCONFIRMED
Severity: Major
Priority: P2
Component: HTML Editing
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: peer at smileCMS.com
Since this weeks webkit builds pasting plain text form a text editor such as
bbedit with line endings \n
Creates a new content editable div for each line.
Example pasting:
Test
Test
Test
into a div with contenteditable set to true now creates this inside the div:
<div contenteditable="true">
<div contenteditable="true">Test</div><div contenteditable="true"><br
class="webkit-block-placeholder"></div><div
contenteditable="true">Test</div><div contenteditable="true"><br
class="webkit-block-placeholder"></div><div contenteditable="true">Test</div>
</div>
instead of the desired:
<div contenteditable="true">
<div>Test</div><div><br
class="webkit-block-placeholder"></div><div>Test</div><div><br
class="webkit-block-placeholder"></div><div>Test</div>
</div>
--
Configure bugmail: http://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