Remove set new value to ClipboardStatusNotifier

pull/1734/head
EgorK0rshun 1 year ago
parent 2e3933263d
commit a0e8ef390c
  1. 5
      lib/src/widgets/raw_editor/raw_editor_state.dart

@ -528,8 +528,9 @@ 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) {

Loading…
Cancel
Save