We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49569e4 commit 8dd559bCopy full SHA for 8dd559b
lib/src/editor_toolbar_controller_shared/clipboard/default_clipboard_service.dart
@@ -48,6 +48,10 @@ class DefaultClipboardService extends ClipboardService {
48
}
49
50
Future<String?> _getClipboardFile({required String fileExtension}) async {
51
+ if (!(await QuillNativeBridge.isSupported(
52
+ QuillNativeBridgeFeature.getClipboardFiles))) {
53
+ return null;
54
+ }
55
if (kIsWeb) {
56
// TODO: Can't read file with dart:io on the Web (See related https://github.com/FlutterQuill/quill-native-bridge/issues/6)
57
return null;
0 commit comments