[Webkit-unassigned] [Bug 29806] New: formatblock editor command removes formatting and comments
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Sep 28 06:47:51 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=29806
Summary: formatblock editor command removes formatting and
comments
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML Editing
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: dpopa at adobe.com
Created an attachment (id=40232)
--> (https://bugs.webkit.org/attachment.cgi?id=40232)
removeformat editor command removes formatting and comments.
removeformat editor command removes formatting and comments.
Check attachment for reproduction.
Have the following HTML inside a contenteditable element:
Some <span style="font-weight: bold">bold text with a <!-- comment 1
-->comment </span> and some text after
After execCommand('formatblock', false, 'h1') the result is:
<h1>Some bold text with a comment and some text after</h1>
--
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