Merge branch 'master' of https://github.com/brentsimmons/Evergreen
This commit is contained in:
commit
78e8823f23
@ -31,12 +31,12 @@ import Data
|
|||||||
|
|
||||||
func writableTypes(for pasteboard: NSPasteboard) -> [NSPasteboard.PasteboardType] {
|
func writableTypes(for pasteboard: NSPasteboard) -> [NSPasteboard.PasteboardType] {
|
||||||
|
|
||||||
var types = [ArticlePasteboardWriter.articleUTIType, .string]
|
var types = [ArticlePasteboardWriter.articleUTIType]
|
||||||
|
|
||||||
if let link = article.preferredLink, let _ = URL(string: link) {
|
if let link = article.preferredLink, let _ = URL(string: link) {
|
||||||
types += [.URL]
|
types += [.URL]
|
||||||
}
|
}
|
||||||
types += [.html, ArticlePasteboardWriter.articleUTIInternalType]
|
types += [.string, .html, ArticlePasteboardWriter.articleUTIInternalType]
|
||||||
|
|
||||||
return types
|
return types
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user