Skip to content

Commit 2af39ca

Browse files
committed
docs: address singerdmx#2427 (comment), document enableClipboardPaste to indicates that this is only applicable for the paste button
1 parent 3bee144 commit 2af39ca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/src/toolbar/config/buttons/clipboard_button_options.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,8 @@ class QuillToolbarClipboardButtonOptions
2525
/// Defaults to [ClipboardMonitor] in case of `null`, which checks if the clipboard has content to paste every second and only then enables the button, indicating to the user that they can paste something.
2626
///
2727
/// Set it to `true` to enable it even if the clipboard has no content to paste, which will do nothing on a press.
28+
///
29+
/// Only applicable if the [QuillToolbarClipboardButton.clipboardAction]
30+
/// is [ClipboardAction.paste].
2831
final bool? enableClipboardPaste;
2932
}

0 commit comments

Comments
 (0)