@expensify/react-native-live-markdown 0.1.323 → 0.1.324
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -92,11 +92,17 @@
|
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
// This method is added as a patch in the New Expensify app.
|
|
95
|
-
// See https://github.com/Expensify/App/blob/
|
|
95
|
+
// See https://github.com/Expensify/App/blob/9a0afa06d2c35d6ef1928d944cf7d28c17dd2bb4/patches/react-native/react-native%2B0.81.4%2B011%2BAdd-onPaste-to-TextInput.patch
|
|
96
96
|
- (void)textInputDidPaste:(NSString *)type withData:(NSString *)data
|
|
97
97
|
{
|
|
98
98
|
void (*func)(id, SEL, NSString*, NSString*) = (void (*)(id, SEL, NSString*, NSString*))objc_msgSend;
|
|
99
99
|
func(_originalTextInputDelegate, @selector(textInputDidPaste:withData:), type, data);
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
+
|
|
103
|
+
- (void)textInputDidPaste:(NSArray<NSDictionary<NSString *, NSString *> *> *)items
|
|
104
|
+
{
|
|
105
|
+
void (*func)(id, SEL, NSArray<NSDictionary<NSString *, NSString *> *> *) = (void (*)(id, SEL, NSArray<NSDictionary<NSString *, NSString *> *> *))objc_msgSend;
|
|
106
|
+
func(_originalTextInputDelegate, @selector(textInputDidPaste:), items);
|
|
107
|
+
}
|
|
102
108
|
@end
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expensify/react-native-live-markdown",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.324",
|
|
4
4
|
"description": "Drop-in replacement for React Native's TextInput component with Markdown formatting.",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|