fixed: leaky abstraction

This commit is contained in:
daboe01
2026-06-17 19:22:36 +02:00
parent 873a102872
commit 4c8fd58471
+5
View File
@@ -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;