mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 04:57:03 +00:00
fixed: leaky abstraction
This commit is contained in:
@@ -3209,6 +3209,11 @@ var _CPCopyPlaceholder = '-';
|
||||
|
||||
if (richtext)
|
||||
{
|
||||
var shouldPastePlainText = [[CPApp currentEvent] modifierFlags] & (CPShiftKeyMask | CPAlternateKeyMask);
|
||||
|
||||
if (shouldPastePlainText && richtext._string)
|
||||
richtext = richtext._string;
|
||||
|
||||
[currentFirstResponder _pasteString:richtext];
|
||||
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user