mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-09 10:20:59 +00:00
formatting
This commit is contained in:
1 parent
38cddf029b
commit
b966c8cb0b
1 file changed
+1
-3
@@ -2502,9 +2502,7 @@ var _CPCopyPlaceholder = '-';
|
||||
[pasteboard declareTypes:[CPRTFPboardType] owner:nil];
|
||||
[pasteboard setString:richtext forType:CPRTFPboardType];
|
||||
|
||||
// prevent dom-flickering (necessary only in FF)
|
||||
var currentFirstResponder = [[CPApp keyWindow] firstResponder];
|
||||
[currentFirstResponder insertText:[[_CPRTFParser new] parseRTF:richtext]]
|
||||
[[[CPApp keyWindow] firstResponder] insertText:[[_CPRTFParser new] parseRTF:richtext]]
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user