diff --git a/lib/src/widgets/raw_editor/raw_editor_state.dart b/lib/src/widgets/raw_editor/raw_editor_state.dart index 03424ccd..9dd485b0 100644 --- a/lib/src/widgets/raw_editor/raw_editor_state.dart +++ b/lib/src/widgets/raw_editor/raw_editor_state.dart @@ -528,8 +528,11 @@ class QuillRawEditorState extends EditorState // ClipboardStatusNotifier with a default value of unknown will cause the // clipboard status to be checked w/o user interaction which fails. Default // to pasteable for web. - _clipboardStatus = ClipboardStatusNotifier( - value: kIsWeb ? ClipboardStatus.pasteable : ClipboardStatus.unknown); + if (kIsWeb) { + _clipboardStatus = ClipboardStatusNotifier( + value: ClipboardStatus.pasteable, + ); + } } if (widget.configurations.scrollable) {