Bug 54500 - WebKit2: RTF pasteboard format doesn't preserve style
Summary: WebKit2: RTF pasteboard format doesn't preserve style
Status: RESOLVED DUPLICATE of bug 47615
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.6
: P2 Normal
Assignee: Enrica Casucci
URL:
Keywords: InRadar, PlatformOnly
Depends on:
Blocks:
 
Reported: 2011-02-15 15:02 PST by Enrica Casucci
Modified: 2011-02-18 16:10 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enrica Casucci 2011-02-15 15:02:37 PST
To create RTF content in the pasteboard it is necessary to create an NSAttributedString from the selected DOM range.
In WebKit2 we cannot use the AppKit API initWithDOMRange because it assumes to have access to the WebFrame and the NSView.
Comment 1 Alexey Proskuryakov 2011-02-18 16:10:56 PST

*** This bug has been marked as a duplicate of bug 47615 ***