From 1a2fa7b062aa6feb297d8fa19eb1009b06bed2ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chyl=C3=BD?= Date: Wed, 3 Apr 2024 02:58:59 +0200 Subject: [PATCH 1/8] Add SK and update CS locales (#1796) --- .../l10n/generated/quill_localizations.dart | 5 + .../generated/quill_localizations_cs.dart | 28 +- .../generated/quill_localizations_sk.dart | 279 ++++++++++++++++++ lib/src/l10n/quill_cs.arb | 25 +- lib/src/l10n/quill_sk.arb | 100 +++++++ lib/src/l10n/untranslated.json | 17 -- 6 files changed, 422 insertions(+), 32 deletions(-) create mode 100644 lib/src/l10n/generated/quill_localizations_sk.dart create mode 100644 lib/src/l10n/quill_sk.arb diff --git a/lib/src/l10n/generated/quill_localizations.dart b/lib/src/l10n/generated/quill_localizations.dart index f4213bf7..08cf5bce 100644 --- a/lib/src/l10n/generated/quill_localizations.dart +++ b/lib/src/l10n/generated/quill_localizations.dart @@ -29,6 +29,7 @@ import 'quill_localizations_pl.dart'; import 'quill_localizations_pt.dart'; import 'quill_localizations_ro.dart'; import 'quill_localizations_ru.dart'; +import 'quill_localizations_sk.dart'; import 'quill_localizations_sr.dart'; import 'quill_localizations_sv.dart'; import 'quill_localizations_sw.dart'; @@ -152,6 +153,7 @@ abstract class FlutterQuillLocalizations { Locale('ro'), Locale('ro', 'RO'), Locale('ru'), + Locale('sk'), Locale('sr'), Locale('sv'), Locale('sw'), @@ -730,6 +732,7 @@ class _FlutterQuillLocalizationsDelegate 'pt', 'ro', 'ru', + 'sk', 'sr', 'sv', 'sw', @@ -842,6 +845,8 @@ FlutterQuillLocalizations lookupFlutterQuillLocalizations(Locale locale) { return FlutterQuillLocalizationsRo(); case 'ru': return FlutterQuillLocalizationsRu(); + case 'sk': + return FlutterQuillLocalizationsSk(); case 'sr': return FlutterQuillLocalizationsSr(); case 'sv': diff --git a/lib/src/l10n/generated/quill_localizations_cs.dart b/lib/src/l10n/generated/quill_localizations_cs.dart index 79d15209..40291575 100644 --- a/lib/src/l10n/generated/quill_localizations_cs.dart +++ b/lib/src/l10n/generated/quill_localizations_cs.dart @@ -137,25 +137,25 @@ class FlutterQuillLocalizationsCs extends FlutterQuillLocalizations { String get headerStyle => 'Styl záhlaví'; @override - String get normal => 'Normal'; + String get normal => 'Normální text'; @override - String get heading1 => 'Heading 1'; + String get heading1 => 'Nadpis 1'; @override - String get heading2 => 'Heading 2'; + String get heading2 => 'Nadpis 2'; @override - String get heading3 => 'Heading 3'; + String get heading3 => 'Nadpis 3'; @override - String get heading4 => 'Heading 4'; + String get heading4 => 'Nadpis 4'; @override - String get heading5 => 'Heading 5'; + String get heading5 => 'Nadpis 5'; @override - String get heading6 => 'Heading 6'; + String get heading6 => 'Nadpis 6'; @override String get numberedList => 'Číslovaný seznam'; @@ -222,7 +222,7 @@ class FlutterQuillLocalizationsCs extends FlutterQuillLocalizations { @override String theImageHasBeenSavedAt(String imagePath) { - return 'The image has been saved at: $imagePath'; + return 'Obrázek byl uložen v: $imagePath'; } @override @@ -256,20 +256,20 @@ class FlutterQuillLocalizationsCs extends FlutterQuillLocalizations { String get insertImage => 'Vložit obrázek'; @override - String get pickAPhotoFromYourGallery => 'Pick a photo from your gallery'; + String get pickAPhotoFromYourGallery => 'Vybrat fotku z galerie'; @override - String get takeAPhotoUsingYourCamera => 'Take a photo using your camera'; + String get takeAPhotoUsingYourCamera => 'Použít fotoaparát'; @override - String get pasteAPhotoUsingALink => 'Paste a photo using a link'; + String get pasteAPhotoUsingALink => 'Vložit fotografii pomocí odkazu'; @override - String get pickAVideoFromYourGallery => 'Pick a video from your gallery'; + String get pickAVideoFromYourGallery => 'Vyberte video z galerie'; @override - String get recordAVideoUsingYourCamera => 'Record a video using your camera'; + String get recordAVideoUsingYourCamera => 'Natočit video pomocí kamery'; @override - String get pasteAVideoUsingALink => 'Paste a video using a link'; + String get pasteAVideoUsingALink => 'Vložit video pomocí odkazu'; } diff --git a/lib/src/l10n/generated/quill_localizations_sk.dart b/lib/src/l10n/generated/quill_localizations_sk.dart new file mode 100644 index 00000000..6be2a6c9 --- /dev/null +++ b/lib/src/l10n/generated/quill_localizations_sk.dart @@ -0,0 +1,279 @@ +import 'quill_localizations.dart'; + +/// The translations for Slovak (`sk`). +class FlutterQuillLocalizationsSk extends FlutterQuillLocalizations { + FlutterQuillLocalizationsSk([super.locale = 'sk']); + + @override + String get pasteLink => 'Vložiť odkaz'; + + @override + String get ok => 'Ok'; + + @override + String get selectColor => 'Vybrať farbu'; + + @override + String get gallery => 'Galéria'; + + @override + String get link => 'Odkaz'; + + @override + String get open => 'Otvoriť'; + + @override + String get copy => 'Kopírovať'; + + @override + String get remove => 'Odstrániť'; + + @override + String get save => 'Uložiť'; + + @override + String get zoom => 'Priblížiť'; + + @override + String get saved => 'Uložené'; + + @override + String get text => 'Text'; + + @override + String get resize => 'Zmeniť veľkosť'; + + @override + String get width => 'Šírka'; + + @override + String get height => 'Výška'; + + @override + String get size => 'Veľkosť'; + + @override + String get small => 'Malý'; + + @override + String get large => 'Velký'; + + @override + String get huge => 'Obrovsky'; + + @override + String get clear => 'Vymazať'; + + @override + String get font => 'Písmo'; + + @override + String get search => 'Hľadanie'; + + @override + String get camera => 'Kamera'; + + @override + String get video => 'Video'; + + @override + String get undo => 'Vrátiť'; + + @override + String get redo => 'Znova'; + + @override + String get fontFamily => 'Rodina písiem'; + + @override + String get fontSize => 'Veľkosť písma'; + + @override + String get bold => 'Tučné'; + + @override + String get subscript => 'Dolný index'; + + @override + String get superscript => 'Horný index'; + + @override + String get italic => 'Kurzíva'; + + @override + String get underline => 'Podčiarknutie'; + + @override + String get strikeThrough => 'Prečiarknuté'; + + @override + String get inlineCode => 'Inline kód'; + + @override + String get fontColor => 'Farba písma'; + + @override + String get backgroundColor => 'Farba pozadia'; + + @override + String get clearFormat => 'Odstrániť formátovanie'; + + @override + String get alignLeft => 'Zarovnať vľavo'; + + @override + String get alignCenter => 'Zarovnať na stred'; + + @override + String get alignRight => 'Zarovnať vpravo'; + + @override + String get justifyWinWidth => 'Zarovnať na šírku okna'; + + @override + String get textDirection => 'Smer textu'; + + @override + String get headerStyle => 'Štýl záhlavia'; + + @override + String get normal => 'Normálny'; + + @override + String get heading1 => 'Hlavička 1'; + + @override + String get heading2 => 'Hlavička 2'; + + @override + String get heading3 => 'Hlavička 3'; + + @override + String get heading4 => 'Hlavička 4'; + + @override + String get heading5 => 'Hlavička 5'; + + @override + String get heading6 => 'Hlavička 6'; + + @override + String get numberedList => 'Číslovaný zoznam'; + + @override + String get bulletList => 'Zoznam s odrážkami'; + + @override + String get checkedList => 'Zoznam s označením'; + + @override + String get codeBlock => 'Blok kódu'; + + @override + String get quote => 'Citácia'; + + @override + String get increaseIndent => 'Zväčšiť odsadenie'; + + @override + String get decreaseIndent => 'Zmenšiť odsadenie'; + + @override + String get insertURL => 'Vložiť URL'; + + @override + String get visitLink => 'Navštíviť odkaz'; + + @override + String get enterLink => 'Zadať odkaz'; + + @override + String get enterMedia => 'Zadať médium'; + + @override + String get edit => 'Upraviť'; + + @override + String get apply => 'Použiť'; + + @override + String get hex => 'Hex'; + + @override + String get material => 'Materiál'; + + @override + String get color => 'Farba'; + + @override + String get findText => 'Nájsť text'; + + @override + String get moveToPreviousOccurrence => 'Prejsť na predchádzajúce výskyty'; + + @override + String get moveToNextOccurrence => 'Prejsť na ďalší výskyt'; + + @override + String get savedUsingTheNetwork => 'Uložené pomocou siete'; + + @override + String get savedUsingLocalStorage => 'Uložené pomocou lokálneho úložiska'; + + @override + String theImageHasBeenSavedAt(String imagePath) { + return 'Obrázok bol uložený v: $imagePath'; + } + + @override + String get errorWhileSavingImage => 'Chyba pri ukladaní obrázka'; + + @override + String get pleaseEnterTextForYourLink => + "Prosím zadajte text pre váš odkaz (napr. 'Ďalšie informácie')"; + + @override + String get pleaseEnterTheLinkURL => + "Prosím zadajte URL odkazu (napr. 'https://example.com')"; + + @override + String get pleaseEnterAValidImageURL => + 'Prosím zadajte platnú URL adresu obrázka'; + + @override + String get pleaseEnterAValidVideoURL => + 'Prosím zadajte platnú URL adresu videa'; + + @override + String get photo => 'Fotografia'; + + @override + String get image => 'Obrázok'; + + @override + String get caseSensitivityAndWholeWordSearch => + 'Citlivosť na veľkosť písmen a vyhľadávanie celých slov'; + + @override + String get insertImage => 'Vložiť obrázok'; + + @override + String get pickAPhotoFromYourGallery => 'Vyberte fotografiu z vašej galérie'; + + @override + String get takeAPhotoUsingYourCamera => + 'Odfotografovať fotografiu pomocou vašej kamery'; + + @override + String get pasteAPhotoUsingALink => 'Vložiť fotografiu pomocou odkazu'; + + @override + String get pickAVideoFromYourGallery => 'Vyberte video z vašej galérie'; + + @override + String get recordAVideoUsingYourCamera => + 'Natočiť video pomocou vašej kamery'; + + @override + String get pasteAVideoUsingALink => 'Vložiť video pomocou odkazu'; +} diff --git a/lib/src/l10n/quill_cs.arb b/lib/src/l10n/quill_cs.arb index a009adab..ba8b0597 100644 --- a/lib/src/l10n/quill_cs.arb +++ b/lib/src/l10n/quill_cs.arb @@ -77,6 +77,29 @@ "photo": "Foto", "image": "Obrázek", "caseSensitivityAndWholeWordSearch": "Citlivost na velká a malá písmena a vyhledávání celého slova", - "insertImage": "Vložit obrázek" + "insertImage": "Vložit obrázek", + "normal": "Normální text", + "heading1": "Nadpis 1", + "heading2": "Nadpis 2", + "heading3": "Nadpis 3", + "heading4": "Nadpis 4", + "heading5": "Nadpis 5", + "heading6": "Nadpis 6", + "theImageHasBeenSavedAt": "Obrázek byl uložen v: {imagePath}", + "@theImageHasBeenSavedAt": { + "description": "Zpráva s jedním parametrem", + "placeholders": { + "imagePath": { + "type": "String", + "example": "cesta/k/umístění" + } + } + }, + "pickAPhotoFromYourGallery": "Vybrat fotku z galerie", + "takeAPhotoUsingYourCamera": "Použít fotoaparát", + "pasteAPhotoUsingALink": "Vložit fotografii pomocí odkazu", + "pickAVideoFromYourGallery": "Vyberte video z galerie", + "recordAVideoUsingYourCamera": "Natočit video pomocí kamery", + "pasteAVideoUsingALink": "Vložit video pomocí odkazu" } \ No newline at end of file diff --git a/lib/src/l10n/quill_sk.arb b/lib/src/l10n/quill_sk.arb new file mode 100644 index 00000000..a5eede3b --- /dev/null +++ b/lib/src/l10n/quill_sk.arb @@ -0,0 +1,100 @@ +{ + "@@locale": "sk", + "pasteLink": "Vložiť odkaz", + "ok": "Ok", + "selectColor": "Vybrať farbu", + "gallery": "Galéria", + "link": "Odkaz", + "open": "Otvoriť", + "copy": "Kopírovať", + "remove": "Odstrániť", + "save": "Uložiť", + "zoom": "Priblížiť", + "saved": "Uložené", + "text": "Text", + "resize": "Zmeniť veľkosť", + "width": "Šírka", + "height": "Výška", + "size": "Veľkosť", + "small": "Malý", + "large": "Velký", + "huge": "Obrovsky", + "clear": "Vymazať", + "font": "Písmo", + "search": "Hľadanie", + "camera": "Kamera", + "video": "Video", + "undo": "Vrátiť", + "redo": "Znova", + "fontFamily": "Rodina písiem", + "fontSize": "Veľkosť písma", + "bold": "Tučné", + "subscript": "Dolný index", + "superscript": "Horný index", + "italic": "Kurzíva", + "underline": "Podčiarknutie", + "strikeThrough": "Prečiarknuté", + "inlineCode": "Inline kód", + "fontColor": "Farba písma", + "backgroundColor": "Farba pozadia", + "clearFormat": "Odstrániť formátovanie", + "alignLeft": "Zarovnať vľavo", + "alignCenter": "Zarovnať na stred", + "alignRight": "Zarovnať vpravo", + "justifyWinWidth": "Zarovnať na šírku okna", + "textDirection": "Smer textu", + "headerStyle": "Štýl záhlavia", + "normal": "Normálny", + "heading1": "Hlavička 1", + "heading2": "Hlavička 2", + "heading3": "Hlavička 3", + "heading4": "Hlavička 4", + "heading5": "Hlavička 5", + "heading6": "Hlavička 6", + "numberedList": "Číslovaný zoznam", + "bulletList": "Zoznam s odrážkami", + "checkedList": "Zoznam s označením", + "codeBlock": "Blok kódu", + "quote": "Citácia", + "increaseIndent": "Zväčšiť odsadenie", + "decreaseIndent": "Zmenšiť odsadenie", + "insertURL": "Vložiť URL", + "visitLink": "Navštíviť odkaz", + "enterLink": "Zadať odkaz", + "enterMedia": "Zadať médium", + "edit": "Upraviť", + "apply": "Použiť", + "hex": "Hex", + "material": "Materiál", + "color": "Farba", + "findText": "Nájsť text", + "moveToPreviousOccurrence": "Prejsť na predchádzajúce výskyty", + "moveToNextOccurrence": "Prejsť na ďalší výskyt", + "savedUsingTheNetwork": "Uložené pomocou siete", + "savedUsingLocalStorage": "Uložené pomocou lokálneho úložiska", + "theImageHasBeenSavedAt": "Obrázok bol uložený v: {imagePath}", + "@theImageHasBeenSavedAt": { + "description": "Správa s jedným parametrom", + "placeholders": { + "imagePath": { + "type": "String", + "example": "cesta/ku/umiestneniu" + } + } + }, + "errorWhileSavingImage": "Chyba pri ukladaní obrázka", + "pleaseEnterTextForYourLink": "Prosím zadajte text pre váš odkaz (napr. 'Ďalšie informácie')", + "pleaseEnterTheLinkURL": "Prosím zadajte URL odkazu (napr. 'https://example.com')", + "pleaseEnterAValidImageURL": "Prosím zadajte platnú URL adresu obrázka", + "pleaseEnterAValidVideoURL": "Prosím zadajte platnú URL adresu videa", + "photo": "Fotografia", + "image": "Obrázok", + "caseSensitivityAndWholeWordSearch": "Citlivosť na veľkosť písmen a vyhľadávanie celých slov", + "insertImage": "Vložiť obrázok", + "pickAPhotoFromYourGallery": "Vyberte fotografiu z vašej galérie", + "takeAPhotoUsingYourCamera": "Odfotografovať fotografiu pomocou vašej kamery", + "pasteAPhotoUsingALink": "Vložiť fotografiu pomocou odkazu", + "pickAVideoFromYourGallery": "Vyberte video z vašej galérie", + "recordAVideoUsingYourCamera": "Natočiť video pomocou vašej kamery", + "pasteAVideoUsingALink": "Vložiť video pomocou odkazu" +} \ No newline at end of file diff --git a/lib/src/l10n/untranslated.json b/lib/src/l10n/untranslated.json index d4d16a80..b3601468 100644 --- a/lib/src/l10n/untranslated.json +++ b/lib/src/l10n/untranslated.json @@ -37,23 +37,6 @@ "pasteAVideoUsingALink" ], - "cs": [ - "normal", - "heading1", - "heading2", - "heading3", - "heading4", - "heading5", - "heading6", - "theImageHasBeenSavedAt", - "pickAPhotoFromYourGallery", - "takeAPhotoUsingYourCamera", - "pasteAPhotoUsingALink", - "pickAVideoFromYourGallery", - "recordAVideoUsingYourCamera", - "pasteAVideoUsingALink" - ], - "da": [ "normal", "heading1", From e2bcdcac468fc7fe63e74b1a67c8b25a28841c41 Mon Sep 17 00:00:00 2001 From: X Code Date: Tue, 2 Apr 2024 17:59:05 -0700 Subject: [PATCH 2/8] Update translation.md --- doc/translation.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/translation.md b/doc/translation.md index 73613259..5aa0ab52 100644 --- a/doc/translation.md +++ b/doc/translation.md @@ -23,7 +23,7 @@ Expanded( ) ``` -Currently, translations are available for these 35 locales: +Currently, translations are available for these 36 locales: * `Locale('en')`, `Locale('ar')`, `Locale('bn')`, `Locale('bs')` * `Locale('cs')`, `Locale('de')`, `Locale('da')`, `Locale('fr')` @@ -33,7 +33,7 @@ Currently, translations are available for these 35 locales: * `Locale('uk')`, `Locale('ur')`, `Locale('pt')`, `Locale('pl')` * `Locale('vi')`, `Locale('id')`, `Locale('it')`, `Locale('ms')` * `Locale('nl')`, `Locale('no')`, `Locale('fa')`, `Locale('hi')` -* `Locale('sr')`, `Locale('sv')`, `Locale('sw')`, `Locale('ja')` +* `Locale('sk')`, `Locale('sr')`, `Locale('sv')`, `Locale('sw')`, `Locale('ja')` #### Contributing to translations From 5d4e4eed8fd5663bd152c9ef0810c2fdbe05fc89 Mon Sep 17 00:00:00 2001 From: Dmitry Ukhanov Date: Wed, 3 Apr 2024 03:59:46 +0300 Subject: [PATCH 3/8] Fix #1797 (#1798) --- lib/src/widgets/toolbar/buttons/font_family_button.dart | 9 +-------- lib/src/widgets/toolbar/buttons/font_size_button.dart | 9 +-------- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/lib/src/widgets/toolbar/buttons/font_family_button.dart b/lib/src/widgets/toolbar/buttons/font_family_button.dart index 01a2cb47..c8f57bd5 100644 --- a/lib/src/widgets/toolbar/buttons/font_family_button.dart +++ b/lib/src/widgets/toolbar/buttons/font_family_button.dart @@ -233,14 +233,7 @@ class QuillToolbarFontFamilyButtonState } return QuillToolbarIconButton( isSelected: false, - iconTheme: iconTheme?.copyWith( - iconButtonSelectedData: const IconButtonData( - visualDensity: VisualDensity.compact, - ), - iconButtonUnselectedData: const IconButtonData( - visualDensity: VisualDensity.compact, - ), - ), + iconTheme: iconTheme, onPressed: _onPressed, icon: _buildContent(context), ); diff --git a/lib/src/widgets/toolbar/buttons/font_size_button.dart b/lib/src/widgets/toolbar/buttons/font_size_button.dart index 1323c1d2..4ebe5055 100644 --- a/lib/src/widgets/toolbar/buttons/font_size_button.dart +++ b/lib/src/widgets/toolbar/buttons/font_size_button.dart @@ -203,14 +203,7 @@ class QuillToolbarFontSizeButtonState return QuillToolbarIconButton( tooltip: tooltip, isSelected: false, - iconTheme: iconTheme?.copyWith( - iconButtonSelectedData: const IconButtonData( - visualDensity: VisualDensity.compact, - ), - iconButtonUnselectedData: const IconButtonData( - visualDensity: VisualDensity.compact, - ), - ), + iconTheme: iconTheme, onPressed: _onDropdownButtonPressed, icon: _buildContent(context), ); From 28dd44fcf2a4879d622c5232ad499f90f6a0b50f Mon Sep 17 00:00:00 2001 From: Dmitry Ukhanov Date: Wed, 3 Apr 2024 03:59:53 +0300 Subject: [PATCH 4/8] Feat #1799 (#1800) --- .../widgets/toolbar/buttons/font_family_button.dart | 10 ++++++++-- lib/src/widgets/toolbar/buttons/font_size_button.dart | 3 +-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/lib/src/widgets/toolbar/buttons/font_family_button.dart b/lib/src/widgets/toolbar/buttons/font_family_button.dart index c8f57bd5..a8ba667b 100644 --- a/lib/src/widgets/toolbar/buttons/font_family_button.dart +++ b/lib/src/widgets/toolbar/buttons/font_family_button.dart @@ -120,6 +120,13 @@ class QuillToolbarFontFamilyButtonState return iconSize ?? baseFontSize ?? kDefaultIconSize; } + double get iconButtonFactor { + final baseIconFactor = + context.quillToolbarBaseButtonOptions?.iconButtonFactor; + final iconButtonFactor = widget.options.iconButtonFactor; + return iconButtonFactor ?? baseIconFactor ?? kDefaultIconButtonFactor; + } + VoidCallback? get afterButtonPressed { return options.afterButtonPressed ?? context.quillToolbarBaseButtonOptions?.afterButtonPressed; @@ -266,10 +273,9 @@ class QuillToolbarFontFamilyButtonState ), ), ), - const SizedBox(width: 3), Icon( Icons.arrow_drop_down, - size: iconSize / 1.15, + size: iconSize * iconButtonFactor, // color: iconTheme?.iconUnselectedFillColor ?? theme.iconTheme.color, ) ], diff --git a/lib/src/widgets/toolbar/buttons/font_size_button.dart b/lib/src/widgets/toolbar/buttons/font_size_button.dart index 4ebe5055..17807c47 100644 --- a/lib/src/widgets/toolbar/buttons/font_size_button.dart +++ b/lib/src/widgets/toolbar/buttons/font_size_button.dart @@ -234,10 +234,9 @@ class QuillToolbarFontSizeButtonState ), ), ), - const SizedBox(width: 3), Icon( Icons.arrow_drop_down, - size: iconSize / 1.15, + size: iconSize * iconButtonFactor, ) ], ), From 659ad44165a8d3fd618acde5c5413c2813c91840 Mon Sep 17 00:00:00 2001 From: Ellet Date: Wed, 3 Apr 2024 21:32:15 +0300 Subject: [PATCH 5/8] Prepare to release 9.3.6 --- CHANGELOG.md | 6 ++++++ dart_quill_delta/CHANGELOG.md | 6 ++++++ dart_quill_delta/pubspec.yaml | 2 +- flutter_quill_extensions/CHANGELOG.md | 6 ++++++ flutter_quill_extensions/pubspec.yaml | 2 +- flutter_quill_test/CHANGELOG.md | 6 ++++++ flutter_quill_test/pubspec.yaml | 2 +- pubspec.yaml | 2 +- quill_html_converter/CHANGELOG.md | 6 ++++++ quill_html_converter/pubspec.yaml | 2 +- quill_pdf_converter/CHANGELOG.md | 6 ++++++ quill_pdf_converter/pubspec.yaml | 2 +- version.dart | 2 +- 13 files changed, 43 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d5bd801..cd4da1cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to this project will be documented in this file. +## 9.3.6 +* Add SK and update CS locales [#1796](https://github.com/singerdmx/flutter-quill/pull/1796) +* Fixes: + * QuillIconTheme changes for FontFamily and FontSize buttons are not applied [#1797](https://github.com/singerdmx/flutter-quill/pull/1796) + * Make the arrow_drop_down icons in the QuillToolbar the same size for all MenuAnchor buttons [#1799](https://github.com/singerdmx/flutter-quill/pull/1796) + ## 9.3.5 * Update the minimum version for the packages to support `device_info_plus` version 10.0.0 [#1783](https://github.com/singerdmx/flutter-quill/issues/1783) * Update the minimum version for `youtube_player_flutter` to new major version 9.0.0 in the `flutter_quill_extensions` diff --git a/dart_quill_delta/CHANGELOG.md b/dart_quill_delta/CHANGELOG.md index 1d5bd801..cd4da1cd 100644 --- a/dart_quill_delta/CHANGELOG.md +++ b/dart_quill_delta/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to this project will be documented in this file. +## 9.3.6 +* Add SK and update CS locales [#1796](https://github.com/singerdmx/flutter-quill/pull/1796) +* Fixes: + * QuillIconTheme changes for FontFamily and FontSize buttons are not applied [#1797](https://github.com/singerdmx/flutter-quill/pull/1796) + * Make the arrow_drop_down icons in the QuillToolbar the same size for all MenuAnchor buttons [#1799](https://github.com/singerdmx/flutter-quill/pull/1796) + ## 9.3.5 * Update the minimum version for the packages to support `device_info_plus` version 10.0.0 [#1783](https://github.com/singerdmx/flutter-quill/issues/1783) * Update the minimum version for `youtube_player_flutter` to new major version 9.0.0 in the `flutter_quill_extensions` diff --git a/dart_quill_delta/pubspec.yaml b/dart_quill_delta/pubspec.yaml index 7591f8ef..116f0d64 100644 --- a/dart_quill_delta/pubspec.yaml +++ b/dart_quill_delta/pubspec.yaml @@ -1,6 +1,6 @@ name: dart_quill_delta description: A port of quill-js-delta from typescript to dart -version: 9.3.5 +version: 9.3.6 homepage: https://github.com/singerdmx/flutter-quill/tree/master/dart_quill_delta/ repository: https://github.com/singerdmx/flutter-quill/tree/master/dart_quill_delta/ issue_tracker: https://github.com/singerdmx/flutter-quill/issues/ diff --git a/flutter_quill_extensions/CHANGELOG.md b/flutter_quill_extensions/CHANGELOG.md index 1d5bd801..cd4da1cd 100644 --- a/flutter_quill_extensions/CHANGELOG.md +++ b/flutter_quill_extensions/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to this project will be documented in this file. +## 9.3.6 +* Add SK and update CS locales [#1796](https://github.com/singerdmx/flutter-quill/pull/1796) +* Fixes: + * QuillIconTheme changes for FontFamily and FontSize buttons are not applied [#1797](https://github.com/singerdmx/flutter-quill/pull/1796) + * Make the arrow_drop_down icons in the QuillToolbar the same size for all MenuAnchor buttons [#1799](https://github.com/singerdmx/flutter-quill/pull/1796) + ## 9.3.5 * Update the minimum version for the packages to support `device_info_plus` version 10.0.0 [#1783](https://github.com/singerdmx/flutter-quill/issues/1783) * Update the minimum version for `youtube_player_flutter` to new major version 9.0.0 in the `flutter_quill_extensions` diff --git a/flutter_quill_extensions/pubspec.yaml b/flutter_quill_extensions/pubspec.yaml index 427c9aa0..18459335 100644 --- a/flutter_quill_extensions/pubspec.yaml +++ b/flutter_quill_extensions/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_quill_extensions description: Embed extensions for flutter_quill including image, video, formula and etc. -version: 9.3.5 +version: 9.3.6 homepage: https://github.com/singerdmx/flutter-quill/tree/master/flutter_quill_extensions/ repository: https://github.com/singerdmx/flutter-quill/tree/master/flutter_quill_extensions/ issue_tracker: https://github.com/singerdmx/flutter-quill/issues/ diff --git a/flutter_quill_test/CHANGELOG.md b/flutter_quill_test/CHANGELOG.md index 1d5bd801..cd4da1cd 100644 --- a/flutter_quill_test/CHANGELOG.md +++ b/flutter_quill_test/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to this project will be documented in this file. +## 9.3.6 +* Add SK and update CS locales [#1796](https://github.com/singerdmx/flutter-quill/pull/1796) +* Fixes: + * QuillIconTheme changes for FontFamily and FontSize buttons are not applied [#1797](https://github.com/singerdmx/flutter-quill/pull/1796) + * Make the arrow_drop_down icons in the QuillToolbar the same size for all MenuAnchor buttons [#1799](https://github.com/singerdmx/flutter-quill/pull/1796) + ## 9.3.5 * Update the minimum version for the packages to support `device_info_plus` version 10.0.0 [#1783](https://github.com/singerdmx/flutter-quill/issues/1783) * Update the minimum version for `youtube_player_flutter` to new major version 9.0.0 in the `flutter_quill_extensions` diff --git a/flutter_quill_test/pubspec.yaml b/flutter_quill_test/pubspec.yaml index bc602ad4..a9aaa358 100644 --- a/flutter_quill_test/pubspec.yaml +++ b/flutter_quill_test/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_quill_test description: Test utilities for flutter_quill which includes methods to simplify interacting with the editor in test cases. -version: 9.3.5 +version: 9.3.6 homepage: https://github.com/singerdmx/flutter-quill/tree/master/flutter_quill_test/ repository: https://github.com/singerdmx/flutter-quill/tree/master/flutter_quill_test/ issue_tracker: https://github.com/singerdmx/flutter-quill/issues/ diff --git a/pubspec.yaml b/pubspec.yaml index 0ce11760..57065c32 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_quill description: A rich text editor built for the modern Android, iOS, web and desktop platforms. It is the WYSIWYG editor and a Quill component for Flutter. -version: 9.3.5 +version: 9.3.6 homepage: https://1o24bbs.com/c/bulletjournal/108/ repository: https://github.com/singerdmx/flutter-quill/ issue_tracker: https://github.com/singerdmx/flutter-quill/issues/ diff --git a/quill_html_converter/CHANGELOG.md b/quill_html_converter/CHANGELOG.md index 1d5bd801..cd4da1cd 100644 --- a/quill_html_converter/CHANGELOG.md +++ b/quill_html_converter/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to this project will be documented in this file. +## 9.3.6 +* Add SK and update CS locales [#1796](https://github.com/singerdmx/flutter-quill/pull/1796) +* Fixes: + * QuillIconTheme changes for FontFamily and FontSize buttons are not applied [#1797](https://github.com/singerdmx/flutter-quill/pull/1796) + * Make the arrow_drop_down icons in the QuillToolbar the same size for all MenuAnchor buttons [#1799](https://github.com/singerdmx/flutter-quill/pull/1796) + ## 9.3.5 * Update the minimum version for the packages to support `device_info_plus` version 10.0.0 [#1783](https://github.com/singerdmx/flutter-quill/issues/1783) * Update the minimum version for `youtube_player_flutter` to new major version 9.0.0 in the `flutter_quill_extensions` diff --git a/quill_html_converter/pubspec.yaml b/quill_html_converter/pubspec.yaml index 76786e3a..4fe8f0d1 100644 --- a/quill_html_converter/pubspec.yaml +++ b/quill_html_converter/pubspec.yaml @@ -1,6 +1,6 @@ name: quill_html_converter description: A extension for flutter_quill package to add support for dealing with conversion to/from html -version: 9.3.5 +version: 9.3.6 homepage: https://github.com/singerdmx/flutter-quill/tree/master/quill_html_converter/ repository: https://github.com/singerdmx/flutter-quill/tree/master/quill_html_converter/ issue_tracker: https://github.com/singerdmx/flutter-quill/issues/ diff --git a/quill_pdf_converter/CHANGELOG.md b/quill_pdf_converter/CHANGELOG.md index 1d5bd801..cd4da1cd 100644 --- a/quill_pdf_converter/CHANGELOG.md +++ b/quill_pdf_converter/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to this project will be documented in this file. +## 9.3.6 +* Add SK and update CS locales [#1796](https://github.com/singerdmx/flutter-quill/pull/1796) +* Fixes: + * QuillIconTheme changes for FontFamily and FontSize buttons are not applied [#1797](https://github.com/singerdmx/flutter-quill/pull/1796) + * Make the arrow_drop_down icons in the QuillToolbar the same size for all MenuAnchor buttons [#1799](https://github.com/singerdmx/flutter-quill/pull/1796) + ## 9.3.5 * Update the minimum version for the packages to support `device_info_plus` version 10.0.0 [#1783](https://github.com/singerdmx/flutter-quill/issues/1783) * Update the minimum version for `youtube_player_flutter` to new major version 9.0.0 in the `flutter_quill_extensions` diff --git a/quill_pdf_converter/pubspec.yaml b/quill_pdf_converter/pubspec.yaml index 56f96709..c4788ba8 100644 --- a/quill_pdf_converter/pubspec.yaml +++ b/quill_pdf_converter/pubspec.yaml @@ -1,6 +1,6 @@ name: quill_pdf_converter description: A extension for flutter_quill package to add support for dealing with conversion to pdf -version: 9.3.5 +version: 9.3.6 homepage: https://github.com/singerdmx/flutter-quill/tree/master/quill_pdf_converter/ repository: https://github.com/singerdmx/flutter-quill/tree/master/quill_pdf_converter/ issue_tracker: https://github.com/singerdmx/flutter-quill/issues/ diff --git a/version.dart b/version.dart index e273ca4d..8b1ef449 100644 --- a/version.dart +++ b/version.dart @@ -1 +1 @@ -const version = '9.3.5'; +const version = '9.3.6'; From a2a4faf3dbc04b841dac7c40e9910382e9b9d04b Mon Sep 17 00:00:00 2001 From: oligazar Date: Tue, 9 Apr 2024 21:49:23 +0300 Subject: [PATCH 6/8] Fix for keyboard jumping when switching focus from a TextField (#1810) --- lib/src/widgets/raw_editor/raw_editor_state.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/widgets/raw_editor/raw_editor_state.dart b/lib/src/widgets/raw_editor/raw_editor_state.dart index 670cd8ee..da636414 100644 --- a/lib/src/widgets/raw_editor/raw_editor_state.dart +++ b/lib/src/widgets/raw_editor/raw_editor_state.dart @@ -1453,6 +1453,7 @@ class QuillRawEditorState extends EditorState void _handleFocusChanged() { if (dirty) { + requestKeyboard(); SchedulerBinding.instance .addPostFrameCallback((_) => _handleFocusChanged()); return; From caa5662de4f3b44830b6ed5b40cd4802631cf808 Mon Sep 17 00:00:00 2001 From: AtlasAutocode <165201146+AtlasAutocode@users.noreply.github.com> Date: Sat, 13 Apr 2024 15:34:58 -0600 Subject: [PATCH 7/8] Toolbar button styling to reflect cursor position when running on desktops with keyboard to move caret. (#1801) * toggle_style_button : calls to options.afterButtonPressed replaced by call to class function afterButtonPressed to allow default call to base button settings quill_icon_button: L26 build for isSelected updated to call afterButtonPressed = same as if not selected QuillController _updateSelection removed param=source because not used; added new param insertNewline when true set tog to style of preceding char (last entered); updated replaceText to call _updateSelection for NL document collectStyle: Selecting the start of a line, user expects the style to be the visible style of the line including inline styles * color_button calls afterButtonPressed insert at start of line uses style for line * Remove comments * Fix formatting issue --------- Co-authored-by: Douglas Ward --- lib/src/models/documents/document.dart | 6 +--- lib/src/models/rules/insert.dart | 9 +++-- lib/src/widgets/quill/quill_controller.dart | 36 ++++++++++--------- .../toolbar/buttons/color/color_button.dart | 1 + .../toolbar/buttons/quill_icon_button.dart | 7 +++- .../toolbar/buttons/toggle_style_button.dart | 4 +-- 6 files changed, 36 insertions(+), 27 deletions(-) diff --git a/lib/src/models/documents/document.dart b/lib/src/models/documents/document.dart index 82c6ebd5..99a72e7a 100644 --- a/lib/src/models/documents/document.dart +++ b/lib/src/models/documents/document.dart @@ -184,11 +184,7 @@ class Document { return (res.node as Line).collectStyle(res.offset, len); } if (res.offset == 0) { - rangeStyle = (res.node as Line).collectStyle(res.offset, len); - return rangeStyle.removeAll({ - for (final attr in rangeStyle.values) - if (attr.isInline) attr - }); + return rangeStyle = (res.node as Line).collectStyle(res.offset, len); } rangeStyle = (res.node as Line).collectStyle(res.offset - 1, len); final linkAttribute = rangeStyle.attributes[Attribute.link.key]; diff --git a/lib/src/models/rules/insert.dart b/lib/src/models/rules/insert.dart index 7f8686c4..731be9cf 100644 --- a/lib/src/models/rules/insert.dart +++ b/lib/src/models/rules/insert.dart @@ -559,10 +559,13 @@ class PreserveInlineStylesRule extends InsertRule { } final itr = DeltaIterator(document); - final prev = itr.skip(len == 0 ? index : index + 1); + var prev = itr.skip(len == 0 ? index : index + 1); if (prev == null || - prev.data is! String || - (prev.data as String).contains('\n')) { + (prev.data is String && (prev.data as String).endsWith('\n'))) { + prev = itr.next(); + } + + if (prev.data is! String) { return null; } diff --git a/lib/src/widgets/quill/quill_controller.dart b/lib/src/widgets/quill/quill_controller.dart index 7f95a6cf..ebbaa7d6 100644 --- a/lib/src/widgets/quill/quill_controller.dart +++ b/lib/src/widgets/quill/quill_controller.dart @@ -327,7 +327,7 @@ class QuillController extends ChangeNotifier { if (textSelection != null) { if (delta == null || delta.isEmpty) { - _updateSelection(textSelection, ChangeSource.local); + _updateSelection(textSelection); } else { final user = Delta() ..retain(index) @@ -335,12 +335,11 @@ class QuillController extends ChangeNotifier { ..delete(len); final positionDelta = getPositionDelta(user, delta); _updateSelection( - textSelection.copyWith( - baseOffset: textSelection.baseOffset + positionDelta, - extentOffset: textSelection.extentOffset + positionDelta, - ), - ChangeSource.local, - ); + textSelection.copyWith( + baseOffset: textSelection.baseOffset + positionDelta, + extentOffset: textSelection.extentOffset + positionDelta, + ), + insertNewline: data == '\n'); } } @@ -389,7 +388,7 @@ class QuillController extends ChangeNotifier { baseOffset: change.transformPosition(selection.baseOffset), extentOffset: change.transformPosition(selection.extentOffset)); if (selection != adjustedSelection) { - _updateSelection(adjustedSelection, ChangeSource.local); + _updateSelection(adjustedSelection); } if (shouldNotifyListeners) { notifyListeners(); @@ -428,7 +427,7 @@ class QuillController extends ChangeNotifier { } void updateSelection(TextSelection textSelection, ChangeSource source) { - _updateSelection(textSelection, source); + _updateSelection(textSelection); notifyListeners(); } @@ -445,7 +444,7 @@ class QuillController extends ChangeNotifier { ), ); if (selection != textSelection) { - _updateSelection(textSelection, source); + _updateSelection(textSelection); } notifyListeners(); @@ -479,18 +478,23 @@ class QuillController extends ChangeNotifier { super.dispose(); } - void _updateSelection(TextSelection textSelection, ChangeSource source) { + void _updateSelection(TextSelection textSelection, + {bool insertNewline = false}) { _selection = textSelection; final end = document.length - 1; _selection = selection.copyWith( baseOffset: math.min(selection.baseOffset, end), extentOffset: math.min(selection.extentOffset, end)); if (keepStyleOnNewLine) { - final style = getSelectionStyle(); - final ignoredStyles = style.attributes.values.where( - (s) => !s.isInline || s.key == Attribute.link.key, - ); - toggledStyle = style.removeAll(ignoredStyles.toSet()); + if (insertNewline && selection.start > 0) { + final style = document.collectStyle(selection.start - 1, 0); + final ignoredStyles = style.attributes.values.where( + (s) => !s.isInline || s.key == Attribute.link.key, + ); + toggledStyle = style.removeAll(ignoredStyles.toSet()); + } else { + toggledStyle = const Style(); + } } else { toggledStyle = const Style(); } diff --git a/lib/src/widgets/toolbar/buttons/color/color_button.dart b/lib/src/widgets/toolbar/buttons/color/color_button.dart index eec85be1..77fa424c 100644 --- a/lib/src/widgets/toolbar/buttons/color/color_button.dart +++ b/lib/src/widgets/toolbar/buttons/color/color_button.dart @@ -191,6 +191,7 @@ class QuillToolbarColorButtonState extends State { size: iconSize * iconButtonFactor, ), onPressed: _showColorPicker, + afterPressed: afterButtonPressed, ); } diff --git a/lib/src/widgets/toolbar/buttons/quill_icon_button.dart b/lib/src/widgets/toolbar/buttons/quill_icon_button.dart index 2bf75ebe..5cc759e0 100644 --- a/lib/src/widgets/toolbar/buttons/quill_icon_button.dart +++ b/lib/src/widgets/toolbar/buttons/quill_icon_button.dart @@ -26,7 +26,12 @@ class QuillToolbarIconButton extends StatelessWidget { if (isSelected) { return IconButton.filled( tooltip: tooltip, - onPressed: onPressed, + onPressed: onPressed != null + ? () { + onPressed?.call(); + afterPressed?.call(); + } + : null, icon: icon, style: iconTheme?.iconButtonSelectedData?.style, visualDensity: iconTheme?.iconButtonSelectedData?.visualDensity, diff --git a/lib/src/widgets/toolbar/buttons/toggle_style_button.dart b/lib/src/widgets/toolbar/buttons/toggle_style_button.dart index b02e627f..f93e79a1 100644 --- a/lib/src/widgets/toolbar/buttons/toggle_style_button.dart +++ b/lib/src/widgets/toolbar/buttons/toggle_style_button.dart @@ -148,7 +148,7 @@ class QuillToolbarToggleStyleButtonState void _onPressed() { _toggleAttribute(); - options.afterButtonPressed?.call(); + afterButtonPressed?.call(); } @override @@ -175,7 +175,7 @@ class QuillToolbarToggleStyleButtonState options.fillColor, _isToggled, _toggleAttribute, - options.afterButtonPressed, + afterButtonPressed, iconSize, iconButtonFactor, iconTheme, From b547e281c99b0e1d065c69e461fc80e58b235df9 Mon Sep 17 00:00:00 2001 From: Cheryl Date: Sun, 14 Apr 2024 17:42:15 -0700 Subject: [PATCH 8/8] Upgrade to 9.3.7 --- CHANGELOG.md | 4 ++++ dart_quill_delta/CHANGELOG.md | 4 ++++ dart_quill_delta/pubspec.yaml | 2 +- flutter_quill_extensions/CHANGELOG.md | 4 ++++ flutter_quill_extensions/pubspec.yaml | 2 +- flutter_quill_test/CHANGELOG.md | 4 ++++ flutter_quill_test/pubspec.yaml | 2 +- pubspec.yaml | 2 +- quill_html_converter/CHANGELOG.md | 4 ++++ quill_html_converter/pubspec.yaml | 2 +- quill_pdf_converter/CHANGELOG.md | 4 ++++ quill_pdf_converter/pubspec.yaml | 2 +- version.dart | 2 +- 13 files changed, 31 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cd4da1cd..8e284f0c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to this project will be documented in this file. +## 9.3.7 +* Fix for keyboard jumping when switching focus from a TextField +* Toolbar button styling to reflect cursor position when running on desktops with keyboard to move care + ## 9.3.6 * Add SK and update CS locales [#1796](https://github.com/singerdmx/flutter-quill/pull/1796) * Fixes: diff --git a/dart_quill_delta/CHANGELOG.md b/dart_quill_delta/CHANGELOG.md index cd4da1cd..8e284f0c 100644 --- a/dart_quill_delta/CHANGELOG.md +++ b/dart_quill_delta/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to this project will be documented in this file. +## 9.3.7 +* Fix for keyboard jumping when switching focus from a TextField +* Toolbar button styling to reflect cursor position when running on desktops with keyboard to move care + ## 9.3.6 * Add SK and update CS locales [#1796](https://github.com/singerdmx/flutter-quill/pull/1796) * Fixes: diff --git a/dart_quill_delta/pubspec.yaml b/dart_quill_delta/pubspec.yaml index 116f0d64..90c1ab71 100644 --- a/dart_quill_delta/pubspec.yaml +++ b/dart_quill_delta/pubspec.yaml @@ -1,6 +1,6 @@ name: dart_quill_delta description: A port of quill-js-delta from typescript to dart -version: 9.3.6 +version: 9.3.7 homepage: https://github.com/singerdmx/flutter-quill/tree/master/dart_quill_delta/ repository: https://github.com/singerdmx/flutter-quill/tree/master/dart_quill_delta/ issue_tracker: https://github.com/singerdmx/flutter-quill/issues/ diff --git a/flutter_quill_extensions/CHANGELOG.md b/flutter_quill_extensions/CHANGELOG.md index cd4da1cd..8e284f0c 100644 --- a/flutter_quill_extensions/CHANGELOG.md +++ b/flutter_quill_extensions/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to this project will be documented in this file. +## 9.3.7 +* Fix for keyboard jumping when switching focus from a TextField +* Toolbar button styling to reflect cursor position when running on desktops with keyboard to move care + ## 9.3.6 * Add SK and update CS locales [#1796](https://github.com/singerdmx/flutter-quill/pull/1796) * Fixes: diff --git a/flutter_quill_extensions/pubspec.yaml b/flutter_quill_extensions/pubspec.yaml index 18459335..84a98509 100644 --- a/flutter_quill_extensions/pubspec.yaml +++ b/flutter_quill_extensions/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_quill_extensions description: Embed extensions for flutter_quill including image, video, formula and etc. -version: 9.3.6 +version: 9.3.7 homepage: https://github.com/singerdmx/flutter-quill/tree/master/flutter_quill_extensions/ repository: https://github.com/singerdmx/flutter-quill/tree/master/flutter_quill_extensions/ issue_tracker: https://github.com/singerdmx/flutter-quill/issues/ diff --git a/flutter_quill_test/CHANGELOG.md b/flutter_quill_test/CHANGELOG.md index cd4da1cd..8e284f0c 100644 --- a/flutter_quill_test/CHANGELOG.md +++ b/flutter_quill_test/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to this project will be documented in this file. +## 9.3.7 +* Fix for keyboard jumping when switching focus from a TextField +* Toolbar button styling to reflect cursor position when running on desktops with keyboard to move care + ## 9.3.6 * Add SK and update CS locales [#1796](https://github.com/singerdmx/flutter-quill/pull/1796) * Fixes: diff --git a/flutter_quill_test/pubspec.yaml b/flutter_quill_test/pubspec.yaml index a9aaa358..51732007 100644 --- a/flutter_quill_test/pubspec.yaml +++ b/flutter_quill_test/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_quill_test description: Test utilities for flutter_quill which includes methods to simplify interacting with the editor in test cases. -version: 9.3.6 +version: 9.3.7 homepage: https://github.com/singerdmx/flutter-quill/tree/master/flutter_quill_test/ repository: https://github.com/singerdmx/flutter-quill/tree/master/flutter_quill_test/ issue_tracker: https://github.com/singerdmx/flutter-quill/issues/ diff --git a/pubspec.yaml b/pubspec.yaml index 57065c32..ae4d772c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_quill description: A rich text editor built for the modern Android, iOS, web and desktop platforms. It is the WYSIWYG editor and a Quill component for Flutter. -version: 9.3.6 +version: 9.3.7 homepage: https://1o24bbs.com/c/bulletjournal/108/ repository: https://github.com/singerdmx/flutter-quill/ issue_tracker: https://github.com/singerdmx/flutter-quill/issues/ diff --git a/quill_html_converter/CHANGELOG.md b/quill_html_converter/CHANGELOG.md index cd4da1cd..8e284f0c 100644 --- a/quill_html_converter/CHANGELOG.md +++ b/quill_html_converter/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to this project will be documented in this file. +## 9.3.7 +* Fix for keyboard jumping when switching focus from a TextField +* Toolbar button styling to reflect cursor position when running on desktops with keyboard to move care + ## 9.3.6 * Add SK and update CS locales [#1796](https://github.com/singerdmx/flutter-quill/pull/1796) * Fixes: diff --git a/quill_html_converter/pubspec.yaml b/quill_html_converter/pubspec.yaml index 4fe8f0d1..79226bf6 100644 --- a/quill_html_converter/pubspec.yaml +++ b/quill_html_converter/pubspec.yaml @@ -1,6 +1,6 @@ name: quill_html_converter description: A extension for flutter_quill package to add support for dealing with conversion to/from html -version: 9.3.6 +version: 9.3.7 homepage: https://github.com/singerdmx/flutter-quill/tree/master/quill_html_converter/ repository: https://github.com/singerdmx/flutter-quill/tree/master/quill_html_converter/ issue_tracker: https://github.com/singerdmx/flutter-quill/issues/ diff --git a/quill_pdf_converter/CHANGELOG.md b/quill_pdf_converter/CHANGELOG.md index cd4da1cd..8e284f0c 100644 --- a/quill_pdf_converter/CHANGELOG.md +++ b/quill_pdf_converter/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to this project will be documented in this file. +## 9.3.7 +* Fix for keyboard jumping when switching focus from a TextField +* Toolbar button styling to reflect cursor position when running on desktops with keyboard to move care + ## 9.3.6 * Add SK and update CS locales [#1796](https://github.com/singerdmx/flutter-quill/pull/1796) * Fixes: diff --git a/quill_pdf_converter/pubspec.yaml b/quill_pdf_converter/pubspec.yaml index c4788ba8..25ce11c9 100644 --- a/quill_pdf_converter/pubspec.yaml +++ b/quill_pdf_converter/pubspec.yaml @@ -1,6 +1,6 @@ name: quill_pdf_converter description: A extension for flutter_quill package to add support for dealing with conversion to pdf -version: 9.3.6 +version: 9.3.7 homepage: https://github.com/singerdmx/flutter-quill/tree/master/quill_pdf_converter/ repository: https://github.com/singerdmx/flutter-quill/tree/master/quill_pdf_converter/ issue_tracker: https://github.com/singerdmx/flutter-quill/issues/ diff --git a/version.dart b/version.dart index 8b1ef449..2ffaace0 100644 --- a/version.dart +++ b/version.dart @@ -1 +1 @@ -const version = '9.3.6'; +const version = '9.3.7';