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 3d5fb03 commit 95a4442Copy full SHA for 95a4442
lib/src/widgets/raw_editor/raw_editor_state.dart
@@ -528,8 +528,11 @@ class QuillRawEditorState extends EditorState
528
// ClipboardStatusNotifier with a default value of unknown will cause the
529
// clipboard status to be checked w/o user interaction which fails. Default
530
// to pasteable for web.
531
- _clipboardStatus = ClipboardStatusNotifier(
532
- value: kIsWeb ? ClipboardStatus.pasteable : ClipboardStatus.unknown);
+ if (kIsWeb) {
+ _clipboardStatus = ClipboardStatusNotifier(
533
+ value: ClipboardStatus.pasteable,
534
+ );
535
+ }
536
}
537
538
if (widget.configurations.scrollable) {
0 commit comments