[Webkit-unassigned] [Bug 12320] New: Markup from another webkit page is always pasted to editable div
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jan 18 12:38:02 PST 2007
http://bugs.webkit.org/show_bug.cgi?id=12320
Summary: Markup from another webkit page is always pasted to
editable div
Product: WebKit
Version: 420+ (nightly)
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: NEW
Severity: Normal
Priority: P2
Component: HTML Editing
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: dwood at karelia.com
To reproduce:
0. Launch Blot_editableDiv_showSource, my modified version of "Blot" available
from <http://dan.karelia.com/webkit/Blot_editableDiv_showSource.zip> with
DYLD_FRAMEWORK_PATH pointing to TOT. (I'm using r18941)
1. Copy some text from this bug report, such as this text right here, (asuming
you're running Safari)
2. Click on the top panel in the modified Blot
3. Paste.
Results: Note that the markup and styles from the source's HTML is preserved in
the resulting HTML - in this case, note that the text is within a <pre
id="comment_text_0"> tag.
This might be desired in some cases, but if the user is just getting rich text,
they don't necessarily want to carry all of the HTML baggage from the source
markup. It would be better to (optionally) have the text pasted in a rich text
only, and then let WebKit re-build its HTML based on the rich text.
This is especially problematic when the source text contains structural markup
tags, such as <h1> <h2> that don't belong in that place in an editable div of
text.
--
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