Merge branch 'master' into selection_problems

pull/1829/head
AtlasAutocode 1 year ago
commit 472b89c956
  1. 10
      CHANGELOG.md
  2. 10
      dart_quill_delta/CHANGELOG.md
  3. 2
      dart_quill_delta/pubspec.yaml
  4. 4
      doc/translation.md
  5. 10
      flutter_quill_extensions/CHANGELOG.md
  6. 2
      flutter_quill_extensions/pubspec.yaml
  7. 10
      flutter_quill_test/CHANGELOG.md
  8. 2
      flutter_quill_test/pubspec.yaml
  9. 5
      lib/src/l10n/generated/quill_localizations.dart
  10. 28
      lib/src/l10n/generated/quill_localizations_cs.dart
  11. 279
      lib/src/l10n/generated/quill_localizations_sk.dart
  12. 25
      lib/src/l10n/quill_cs.arb
  13. 100
      lib/src/l10n/quill_sk.arb
  14. 17
      lib/src/l10n/untranslated.json
  15. 1
      lib/src/widgets/raw_editor/raw_editor_state.dart
  16. 19
      lib/src/widgets/toolbar/buttons/font_family_button.dart
  17. 12
      lib/src/widgets/toolbar/buttons/font_size_button.dart
  18. 2
      pubspec.yaml
  19. 10
      quill_html_converter/CHANGELOG.md
  20. 2
      quill_html_converter/pubspec.yaml
  21. 10
      quill_pdf_converter/CHANGELOG.md
  22. 2
      quill_pdf_converter/pubspec.yaml
  23. 2
      version.dart

@ -2,6 +2,16 @@
All notable changes to this project will be documented in this file. 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:
* 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 ## 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 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` * Update the minimum version for `youtube_player_flutter` to new major version 9.0.0 in the `flutter_quill_extensions`

@ -2,6 +2,16 @@
All notable changes to this project will be documented in this file. 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:
* 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 ## 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 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` * Update the minimum version for `youtube_player_flutter` to new major version 9.0.0 in the `flutter_quill_extensions`

@ -1,6 +1,6 @@
name: dart_quill_delta name: dart_quill_delta
description: A port of quill-js-delta from typescript to dart description: A port of quill-js-delta from typescript to dart
version: 9.3.5 version: 9.3.7
homepage: https://github.com/singerdmx/flutter-quill/tree/master/dart_quill_delta/ homepage: https://github.com/singerdmx/flutter-quill/tree/master/dart_quill_delta/
repository: 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/ issue_tracker: https://github.com/singerdmx/flutter-quill/issues/

@ -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('en')`, `Locale('ar')`, `Locale('bn')`, `Locale('bs')`
* `Locale('cs')`, `Locale('de')`, `Locale('da')`, `Locale('fr')` * `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('uk')`, `Locale('ur')`, `Locale('pt')`, `Locale('pl')`
* `Locale('vi')`, `Locale('id')`, `Locale('it')`, `Locale('ms')` * `Locale('vi')`, `Locale('id')`, `Locale('it')`, `Locale('ms')`
* `Locale('nl')`, `Locale('no')`, `Locale('fa')`, `Locale('hi')` * `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 #### Contributing to translations

@ -2,6 +2,16 @@
All notable changes to this project will be documented in this file. 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:
* 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 ## 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 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` * Update the minimum version for `youtube_player_flutter` to new major version 9.0.0 in the `flutter_quill_extensions`

@ -1,6 +1,6 @@
name: flutter_quill_extensions name: flutter_quill_extensions
description: Embed extensions for flutter_quill including image, video, formula and etc. description: Embed extensions for flutter_quill including image, video, formula and etc.
version: 9.3.5 version: 9.3.7
homepage: https://github.com/singerdmx/flutter-quill/tree/master/flutter_quill_extensions/ homepage: https://github.com/singerdmx/flutter-quill/tree/master/flutter_quill_extensions/
repository: 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/ issue_tracker: https://github.com/singerdmx/flutter-quill/issues/

@ -2,6 +2,16 @@
All notable changes to this project will be documented in this file. 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:
* 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 ## 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 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` * Update the minimum version for `youtube_player_flutter` to new major version 9.0.0 in the `flutter_quill_extensions`

@ -1,6 +1,6 @@
name: flutter_quill_test name: flutter_quill_test
description: Test utilities for flutter_quill which includes methods to simplify interacting with the editor in test cases. 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.7
homepage: https://github.com/singerdmx/flutter-quill/tree/master/flutter_quill_test/ homepage: https://github.com/singerdmx/flutter-quill/tree/master/flutter_quill_test/
repository: 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/ issue_tracker: https://github.com/singerdmx/flutter-quill/issues/

@ -29,6 +29,7 @@ import 'quill_localizations_pl.dart';
import 'quill_localizations_pt.dart'; import 'quill_localizations_pt.dart';
import 'quill_localizations_ro.dart'; import 'quill_localizations_ro.dart';
import 'quill_localizations_ru.dart'; import 'quill_localizations_ru.dart';
import 'quill_localizations_sk.dart';
import 'quill_localizations_sr.dart'; import 'quill_localizations_sr.dart';
import 'quill_localizations_sv.dart'; import 'quill_localizations_sv.dart';
import 'quill_localizations_sw.dart'; import 'quill_localizations_sw.dart';
@ -152,6 +153,7 @@ abstract class FlutterQuillLocalizations {
Locale('ro'), Locale('ro'),
Locale('ro', 'RO'), Locale('ro', 'RO'),
Locale('ru'), Locale('ru'),
Locale('sk'),
Locale('sr'), Locale('sr'),
Locale('sv'), Locale('sv'),
Locale('sw'), Locale('sw'),
@ -730,6 +732,7 @@ class _FlutterQuillLocalizationsDelegate
'pt', 'pt',
'ro', 'ro',
'ru', 'ru',
'sk',
'sr', 'sr',
'sv', 'sv',
'sw', 'sw',
@ -842,6 +845,8 @@ FlutterQuillLocalizations lookupFlutterQuillLocalizations(Locale locale) {
return FlutterQuillLocalizationsRo(); return FlutterQuillLocalizationsRo();
case 'ru': case 'ru':
return FlutterQuillLocalizationsRu(); return FlutterQuillLocalizationsRu();
case 'sk':
return FlutterQuillLocalizationsSk();
case 'sr': case 'sr':
return FlutterQuillLocalizationsSr(); return FlutterQuillLocalizationsSr();
case 'sv': case 'sv':

@ -137,25 +137,25 @@ class FlutterQuillLocalizationsCs extends FlutterQuillLocalizations {
String get headerStyle => 'Styl záhlaví'; String get headerStyle => 'Styl záhlaví';
@override @override
String get normal => 'Normal'; String get normal => 'Normální text';
@override @override
String get heading1 => 'Heading 1'; String get heading1 => 'Nadpis 1';
@override @override
String get heading2 => 'Heading 2'; String get heading2 => 'Nadpis 2';
@override @override
String get heading3 => 'Heading 3'; String get heading3 => 'Nadpis 3';
@override @override
String get heading4 => 'Heading 4'; String get heading4 => 'Nadpis 4';
@override @override
String get heading5 => 'Heading 5'; String get heading5 => 'Nadpis 5';
@override @override
String get heading6 => 'Heading 6'; String get heading6 => 'Nadpis 6';
@override @override
String get numberedList => 'Číslovaný seznam'; String get numberedList => 'Číslovaný seznam';
@ -222,7 +222,7 @@ class FlutterQuillLocalizationsCs extends FlutterQuillLocalizations {
@override @override
String theImageHasBeenSavedAt(String imagePath) { String theImageHasBeenSavedAt(String imagePath) {
return 'The image has been saved at: $imagePath'; return 'Obrázek byl uložen v: $imagePath';
} }
@override @override
@ -256,20 +256,20 @@ class FlutterQuillLocalizationsCs extends FlutterQuillLocalizations {
String get insertImage => 'Vložit obrázek'; String get insertImage => 'Vložit obrázek';
@override @override
String get pickAPhotoFromYourGallery => 'Pick a photo from your gallery'; String get pickAPhotoFromYourGallery => 'Vybrat fotku z galerie';
@override @override
String get takeAPhotoUsingYourCamera => 'Take a photo using your camera'; String get takeAPhotoUsingYourCamera => 'Použít fotoaparát';
@override @override
String get pasteAPhotoUsingALink => 'Paste a photo using a link'; String get pasteAPhotoUsingALink => 'Vložit fotografii pomocí odkazu';
@override @override
String get pickAVideoFromYourGallery => 'Pick a video from your gallery'; String get pickAVideoFromYourGallery => 'Vyberte video z galerie';
@override @override
String get recordAVideoUsingYourCamera => 'Record a video using your camera'; String get recordAVideoUsingYourCamera => 'Natočit video pomocí kamery';
@override @override
String get pasteAVideoUsingALink => 'Paste a video using a link'; String get pasteAVideoUsingALink => 'Vložit video pomocí odkazu';
} }

@ -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';
}

@ -77,6 +77,29 @@
"photo": "Foto", "photo": "Foto",
"image": "Obrázek", "image": "Obrázek",
"caseSensitivityAndWholeWordSearch": "Citlivost na velká a malá písmena a vyhledávání celého slova", "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"
} }

@ -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"
}

@ -37,23 +37,6 @@
"pasteAVideoUsingALink" "pasteAVideoUsingALink"
], ],
"cs": [
"normal",
"heading1",
"heading2",
"heading3",
"heading4",
"heading5",
"heading6",
"theImageHasBeenSavedAt",
"pickAPhotoFromYourGallery",
"takeAPhotoUsingYourCamera",
"pasteAPhotoUsingALink",
"pickAVideoFromYourGallery",
"recordAVideoUsingYourCamera",
"pasteAVideoUsingALink"
],
"da": [ "da": [
"normal", "normal",
"heading1", "heading1",

@ -1453,6 +1453,7 @@ class QuillRawEditorState extends EditorState
void _handleFocusChanged() { void _handleFocusChanged() {
if (dirty) { if (dirty) {
requestKeyboard();
SchedulerBinding.instance SchedulerBinding.instance
.addPostFrameCallback((_) => _handleFocusChanged()); .addPostFrameCallback((_) => _handleFocusChanged());
return; return;

@ -128,6 +128,13 @@ class QuillToolbarFontFamilyButtonState
return iconSize ?? baseFontSize ?? kDefaultIconSize; return iconSize ?? baseFontSize ?? kDefaultIconSize;
} }
double get iconButtonFactor {
final baseIconFactor =
context.quillToolbarBaseButtonOptions?.iconButtonFactor;
final iconButtonFactor = widget.options.iconButtonFactor;
return iconButtonFactor ?? baseIconFactor ?? kDefaultIconButtonFactor;
}
VoidCallback? get afterButtonPressed { VoidCallback? get afterButtonPressed {
return options.afterButtonPressed ?? return options.afterButtonPressed ??
context.quillToolbarBaseButtonOptions?.afterButtonPressed; context.quillToolbarBaseButtonOptions?.afterButtonPressed;
@ -241,14 +248,7 @@ class QuillToolbarFontFamilyButtonState
} }
return QuillToolbarIconButton( return QuillToolbarIconButton(
isSelected: false, isSelected: false,
iconTheme: iconTheme?.copyWith( iconTheme: iconTheme,
iconButtonSelectedData: const IconButtonData(
visualDensity: VisualDensity.compact,
),
iconButtonUnselectedData: const IconButtonData(
visualDensity: VisualDensity.compact,
),
),
onPressed: _onPressed, onPressed: _onPressed,
icon: _buildContent(context), icon: _buildContent(context),
); );
@ -281,10 +281,9 @@ class QuillToolbarFontFamilyButtonState
), ),
), ),
), ),
const SizedBox(width: 3),
Icon( Icon(
Icons.arrow_drop_down, Icons.arrow_drop_down,
size: iconSize / 1.15, size: iconSize * iconButtonFactor,
// color: iconTheme?.iconUnselectedFillColor ?? theme.iconTheme.color, // color: iconTheme?.iconUnselectedFillColor ?? theme.iconTheme.color,
) )
], ],

@ -235,14 +235,7 @@ class QuillToolbarFontSizeButtonState
return QuillToolbarIconButton( return QuillToolbarIconButton(
tooltip: tooltip, tooltip: tooltip,
isSelected: false, isSelected: false,
iconTheme: iconTheme?.copyWith( iconTheme: iconTheme,
iconButtonSelectedData: const IconButtonData(
visualDensity: VisualDensity.compact,
),
iconButtonUnselectedData: const IconButtonData(
visualDensity: VisualDensity.compact,
),
),
onPressed: _onDropdownButtonPressed, onPressed: _onDropdownButtonPressed,
icon: _buildContent(context), icon: _buildContent(context),
); );
@ -272,10 +265,9 @@ class QuillToolbarFontSizeButtonState
), ),
), ),
), ),
const SizedBox(width: 3),
Icon( Icon(
Icons.arrow_drop_down, Icons.arrow_drop_down,
size: iconSize / 1.15, size: iconSize * iconButtonFactor,
) )
], ],
), ),

@ -1,6 +1,6 @@
name: flutter_quill 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. 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.7
homepage: https://1o24bbs.com/c/bulletjournal/108/ homepage: https://1o24bbs.com/c/bulletjournal/108/
repository: https://github.com/singerdmx/flutter-quill/ repository: https://github.com/singerdmx/flutter-quill/
issue_tracker: https://github.com/singerdmx/flutter-quill/issues/ issue_tracker: https://github.com/singerdmx/flutter-quill/issues/

@ -2,6 +2,16 @@
All notable changes to this project will be documented in this file. 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:
* 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 ## 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 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` * Update the minimum version for `youtube_player_flutter` to new major version 9.0.0 in the `flutter_quill_extensions`

@ -1,6 +1,6 @@
name: quill_html_converter name: quill_html_converter
description: A extension for flutter_quill package to add support for dealing with conversion to/from html description: A extension for flutter_quill package to add support for dealing with conversion to/from html
version: 9.3.5 version: 9.3.7
homepage: https://github.com/singerdmx/flutter-quill/tree/master/quill_html_converter/ homepage: https://github.com/singerdmx/flutter-quill/tree/master/quill_html_converter/
repository: 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/ issue_tracker: https://github.com/singerdmx/flutter-quill/issues/

@ -2,6 +2,16 @@
All notable changes to this project will be documented in this file. 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:
* 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 ## 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 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` * Update the minimum version for `youtube_player_flutter` to new major version 9.0.0 in the `flutter_quill_extensions`

@ -1,6 +1,6 @@
name: quill_pdf_converter name: quill_pdf_converter
description: A extension for flutter_quill package to add support for dealing with conversion to pdf description: A extension for flutter_quill package to add support for dealing with conversion to pdf
version: 9.3.5 version: 9.3.7
homepage: https://github.com/singerdmx/flutter-quill/tree/master/quill_pdf_converter/ homepage: https://github.com/singerdmx/flutter-quill/tree/master/quill_pdf_converter/
repository: 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/ issue_tracker: https://github.com/singerdmx/flutter-quill/issues/

@ -1 +1 @@
const version = '9.3.5'; const version = '9.3.7';

Loading…
Cancel
Save