You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+10-3Lines changed: 10 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,10 +10,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
11
11
## [Unreleased]
12
12
13
-
### Added
13
+
### Changed
14
14
15
+
-**BREAKING**: Change the `options` parameter class type from `QuillToolbarToggleStyleButtonOptions` to `QuillToolbarClipboardButtonOptions` in `QuillToolbarClipboardButton`. To migrate, use `QuillToolbarClipboardButtonOptions` instead of `QuillToolbarToggleStyleButtonOptions`[#2433](https://github.com/singerdmx/flutter-quill/pull/2433).
15
16
-`enableClipboardPaste` flag in `QuillToolbarClipboardButton` to determine if the button defaults to `null,` which will use `ClipboardMonitor`, which checks every second if the clipboard has content to paste [#2427](https://github.com/singerdmx/flutter-quill/pull/2427).
16
-
- Croatian (hr) language translation.
17
+
18
+
## [11.0.0-dev.19] - 2025-01-10
19
+
20
+
### Added
21
+
22
+
- Croatian (hr) language translation [#2431](https://github.com/singerdmx/flutter-quill/pull/2431).
17
23
18
24
### Changed
19
25
@@ -180,7 +186,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
180
186
- Apple-specific font dependency for subscript and superscript functionality from the example.
181
187
-**BREAKING**: The [`super_clipboard`](https://pub.dev/packages/super_clipboard) plugin, To restore legacy behavior for `super_clipboard`, use [`flutter_quill_extensions`](https://pub.dev/packages/flutter_quill_extensions) package and `FlutterQuillExtensions.useSuperClipboardPlugin()`.
Copy file name to clipboardExpand all lines: doc/migration/10_to_11.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -351,6 +351,7 @@ required for **custom toolbars**.
351
351
- Renames `QuillToolbarToggleCheckListButtonOptions.isShouldRequestKeyboard` to `QuillToolbarToggleCheckListButtonOptions.shouldRequestKeyboard`.
352
352
- Moved `onClipboardPaste` from `QuillControllerConfig` to `QuillClipboardConfig`. Added `clipboardConfig` property to `QuillControllerConfig`.
353
353
- Moved `onImagePaste` and `onGifPaste` from the editor's config (`QuillEditorConfig` or `QuillRawEditorConfig`) to the clipboard's config (`QuillClipboardConfig`), which is part of the controller's config (`QuillControllerConfig`).
354
+
- Changed the options type from `QuillToolbarToggleStyleButtonOptions` to `QuillToolbarClipboardButtonOptions` in `QuillToolbarClipboardButton`, use the new options class.
354
355
355
356
## 💥 Breaking behavior
356
357
@@ -497,5 +498,6 @@ in non-major releases:
497
498
- The `shouldNotifyListeners` in `QuillController.replaceText()`, `QuillController.replaceText()`, `QuillController.formatSelection()`.
498
499
- The `QuillController.clipboardSelection()`.
499
500
- The `CopyCutServiceProvider`, `CopyCutService`, and `DefaultCopyCutService`.
501
+
- The clipboard action buttons in the `QuillSimpleToolbar` (`showClipboardCut`, `showClipboardCopy` and `showClipboardPaste`), including `QuillToolbarClipboardButton` and `ClipboardMonitor` due to a performance issue [#2421](https://github.com/singerdmx/flutter-quill/issues/2421).
500
502
501
503
The functionality itself has not changed and no experimental changes were introduced.
/// Determines if the paste button is enabled. The button is disabled and cannot be clicked if set to `false`.
24
+
///
25
+
/// 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.
26
+
///
27
+
/// Set it to `true` to enable it even if the clipboard has no content to paste, which will do nothing on a press.
0 commit comments