diff --git a/lib/widgets/editor.dart b/lib/widgets/editor.dart index 3ed4423f..6c355b22 100644 --- a/lib/widgets/editor.dart +++ b/lib/widgets/editor.dart @@ -275,10 +275,10 @@ class _QuillEditorState extends State widget.placeholder, widget.onLaunchUrl, ToolbarOptions( - copy: true, - cut: true, - paste: true, - selectAll: true, + copy: widget.enableInteractiveSelection ?? true, + cut: widget.enableInteractiveSelection ?? true, + paste: widget.enableInteractiveSelection ?? true, + selectAll: widget.enableInteractiveSelection ?? true, ), theme.platform == TargetPlatform.iOS || theme.platform == TargetPlatform.android,