From f161f723d7ef0dabbe1161773477dc22d43fed9d Mon Sep 17 00:00:00 2001 From: daboe01 Date: Fri, 27 May 2016 17:39:51 +0200 Subject: [PATCH] fixed: mimetype of rtf --- AppKit/CPTextView/CPTextView.j | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AppKit/CPTextView/CPTextView.j b/AppKit/CPTextView/CPTextView.j index 1d908a0ac..064eacaab 100644 --- a/AppKit/CPTextView/CPTextView.j +++ b/AppKit/CPTextView/CPTextView.j @@ -2341,7 +2341,7 @@ var _CPCopyPlaceholder = '-'; // dataForPasting = [pasteboard dataForType:CPRichStringPboardType], var stringForPasting = [pasteboard stringForType:CPStringPboardType]; e.clipboardData.setData('text/plain', stringForPasting); - // e.clipboardData.setData('application/rtf', stringForPasting); // does not seem to work + // e.clipboardData.setData('text/rtf', stringForPasting); // does not seem to work return false; } @@ -2364,7 +2364,7 @@ var _CPCopyPlaceholder = '-'; var stringForPasting = [pasteboard stringForType:CPStringPboardType]; e.clipboardData.setData('text/plain', stringForPasting); - //e.clipboardData.setData('application/rtf', stringForPasting); // does not seem to work + //e.clipboardData.setData('text/rtf', stringForPasting); // does not seem to work return false; }