[iOS] Should look for RTF and RTFD pasteboard types before plain text.
authorenrica@apple.com <enrica@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 15 Jul 2015 21:07:01 +0000 (21:07 +0000)
committerenrica@apple.com <enrica@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 15 Jul 2015 21:07:01 +0000 (21:07 +0000)
commitb69a5786e09606327d472d60bd4dbccf36beb4e7
tree52f59fd29277da705a62bcb2d2f029f0eea372e5
parent5777a06d807ed10674518e6706938ad2b7d783b6
[iOS] Should look for RTF and RTFD pasteboard types before plain text.
https://bugs.webkit.org/show_bug.cgi?id=146971
rdar://problem/21840845

Reviewed by Sam Weinig.

The list of pasteboard types returned by supportedPasteboardTypes
determines the order in which WebKit looks for data in the pasteboard
to create a fragment. The incorrect order could make plain text to
be preferred over rich format.

* platform/ios/PasteboardIOS.mm:
(WebCore::Pasteboard::supportedPasteboardTypes):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@186857 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/ios/PasteboardIOS.mm