mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-07 17:38:02 +00:00
fixed: mimetype of rtf
This commit is contained in:
1 parent
6c94550de3
commit
f161f723d7
1 file changed
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user