Important
See the migration guide from 10.0.0 to 11.0.0 for the full breaking changes and migration. Ensure to read the breaking behavior section to avoid unexpected changes.
Fixed
- [iOS] Localize the Cupertino link menu actions.
- Export
QuillToolbarSelectLineHeightStyleDropdownButtonOptions
, fixing #2333. - Clipboard images pasting as plain text on Android #2384.
- Avoid using
url_launcher_string.dart
which is strongly discouraged #2403. - The color picker dialog's hex field does not use the correct value of the selected text in the editor #2415.
Added
- New localization strings for the image save functionality #2403.
Insert video
string inquill_en.arb
to support localization forflutter_quill_extensions
. Currently available only in English.QuillClipboardConfig
class with customizable clipboard paste handling callbacks, partial fix to #2350.- The option to enable/disable rich text paste (from other apps) in
QuillClipboardConfig
. Insert video
string inquill_en.arb
to support localization forflutter_quill_extensions
. Currently available only in English.onKeyPressed
inQuillEditorConfig
to customize key press handling in the editor #2368.- Croatian (hr) language translation #2431.
enableClipboardPaste
flag inQuillToolbarClipboardButton
to determine if the button defaults tonull,
which will useClipboardMonitor
, which checks every second if the clipboard has content to paste #2427.
Changed
- Rewrite the image save functionality for
flutter_quill_extensions
#2403. - Migrate quill_native_bridge to
11.0.0
#2403. - Avoid using deprecated APIs in Flutter 3.27.0 #2416:
- Migrate from
withOpacity
towithValues
according to Color wide gamut - Opacity migration. - Avoid using the deprecated
Color.value
getter.
- Migrate from
- Ignore
unreachable_switch_default
warning (introduced in Dart 3.6) #2416. - Update
intl
dependency to support versions0.19.0
and0.20.0
#2416. - Restore base button options, now works without the inherited widgets, and support buttons of
flutter_quill_extensions
. - The option to enable/disable rich text paste (from other apps) in
QuillClipboardConfig
. - Improve
README.md
. - Simplify the
example
app. - Update the minimum supported SDK version to Flutter 3.0/Dart 3.0 for compatibility, fixing #2347.
- Improve dependencies constraints for compatibility.
- Improve
README.md
. - Always call
setState()
in_markNeedsBuild()
inQuillRawEditorState
(revert to the old behavior). - BREAKING: Update configuration class names to use the suffix
Config
instead ofConfigurations
. - BREAKING: Refactor embed block interface for both the
EmbedBuilder.build()
andEmbedButtonBuilder
. - Minor cleanup to magnifier feature.
- The
QuillSimpleToolbar
base button options now support buttons offlutter_quill_extensions
. - Mark
shouldNotifyListeners
as experimental inQuillController.replaceText()
. - Mark the method
QuillController.clipboardSelection()
as experimental. - Improve pub topics in package metadata.
- Update the minimum required version of the dependency quill_native_bridge from
10.7.9
to10.7.11
. - Address warnings of
unreachable_switch_default
(introduced in Dart 3.6). - BREAKING: Clipboard action buttons in
QuillSimpleToolbar
are now disabled by default. To enable them, setshowClipboardCut
,showClipboardCopy
, andshowClipboardPaste
totrue
inQuillSimpleToolbarConfig
. - BREAKING: Change the
options
parameter class type fromQuillToolbarToggleStyleButtonOptions
toQuillToolbarClipboardButtonOptions
inQuillToolbarClipboardButton
. To migrate, useQuillToolbarClipboardButtonOptions
instead ofQuillToolbarToggleStyleButtonOptions
#2433. This change was made for the PR #2427. - BREAKING: Change the
onTapDown
to acceptTapDownDetails
instead ofTapDragDownDetails
(revert #2128 due to regressions). - BREAKING: Change the
onTapUp
to acceptTapUpDetails
instead ofTapDragUpDetails
(revert #2128 due to regressions). - BREAKING: Revert
Copy TapAndPanGestureRecognizer from TextField
PR #2128, restoring editor behavior to match versions before10.4.0
due to the regressions #2413. - BREAKING: Replace
QuillClipboardConfig.onDeltaPaste
withQuillClipboardConfig.onRichTextPaste
which is more specific and provides an additional parameterisExternal
to determine whether theDelta
content is from an external app. - Bosnian (bs), Macedonian (mk) and Gujarati (gu) language translations #2455.
textSpanBuilder
toQuillEditorConfig
to allow overriding how text content is rendered.