[Webkit-unassigned] [Bug 189504] New: [Cocoa] Complete support for Paste as Quotation
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 11 09:40:52 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=189504
Bug ID: 189504
Summary: [Cocoa] Complete support for Paste as Quotation
Product: WebKit
Version: Other
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: HTML Editing
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mitz at webkit.org
CC: wenson_hsieh at apple.com
WebCore implements custom paste behavior for Paste as Quotation, which is triggered by the presence of a specific class attribute value on the blockquote element being pasted (see isMailPasteAsQuotationNode in ReplaceSeelctionCommand.cpp). This allows clients of the legacy API to create a document fragment that will get pasted as a quotation. To expose the same functionality to clients of the modern WebKit API, we can introduce an explicit Paste as Quotation command, which will take care of creating an enclosing blockquote with the appropriate class. In the future we can do away with using the class attribute to signal the desired behavior altogether.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180911/5bd56586/attachment.html>
More information about the webkit-unassigned
mailing list