mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-28 16:26:04 +00:00
Extend Article with PasteboardWriterOwner so that timeline copying works as it was intended to. Issue #963
This commit is contained in:
1 parent
5900b748be
commit
caeebfc89e
1 file changed
+5
@@ -10,6 +10,11 @@ import AppKit
|
||||
import Articles
|
||||
import RSCore
|
||||
|
||||
extension Article: PasteboardWriterOwner {
|
||||
public var pasteboardWriter: NSPasteboardWriting {
|
||||
return ArticlePasteboardWriter(article: self)
|
||||
}
|
||||
}
|
||||
|
||||
@objc final class ArticlePasteboardWriter: NSObject, NSPasteboardWriting {
|
||||
|
||||
|
||||
Reference in new issue
Block a user