From caeebfc89ef66a78ee96849a2fcb5d913a031729 Mon Sep 17 00:00:00 2001 From: Maurice Parker <mo@vincode.io> Date: Mon, 2 Nov 2020 19:33:56 -0600 Subject: [PATCH] Extend Article with PasteboardWriterOwner so that timeline copying works as it was intended to. Issue #963 --- Mac/MainWindow/Timeline/ArticlePasteboardWriter.swift | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Mac/MainWindow/Timeline/ArticlePasteboardWriter.swift b/Mac/MainWindow/Timeline/ArticlePasteboardWriter.swift index a405a8be2..272c55e16 100644 --- a/Mac/MainWindow/Timeline/ArticlePasteboardWriter.swift +++ b/Mac/MainWindow/Timeline/ArticlePasteboardWriter.swift @@ -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 {