2.1.3 - Backport pasting fix
Co-authored-by: Duy Tran Khanh <[email protected]>
This commit is contained in:
1 parent
9da6184250
commit
806ded7efe
1 file changed
+5
@@ -26,6 +26,11 @@ extern bool isUseStackQueueCall;
|
||||
}
|
||||
}
|
||||
|
||||
- (void)paste:(id)sender {
|
||||
[super paste:sender];
|
||||
[self sendText:UIPasteboard.generalPasteboard.string];
|
||||
}
|
||||
|
||||
- (void)sendText:(NSString *)text {
|
||||
for (int i = 0; i < text.length; i++) {
|
||||
// Directly convert unichar to jchar since both are in UTF-16 encoding.
|
||||
|
||||
Reference in new issue
Block a user