diff --git a/flutter_quill_extensions/CHANGELOG.md b/flutter_quill_extensions/CHANGELOG.md index a6155cb5..67c40380 100644 --- a/flutter_quill_extensions/CHANGELOG.md +++ b/flutter_quill_extensions/CHANGELOG.md @@ -1,4 +1,5 @@ ## 0.5.1 + - Provide a way to use custom image provider for the image widgets - Provide a way to handle different errors in image widgets - Two bug fixes related to pick the image and capture it using the camera @@ -12,42 +13,49 @@ - Add new custom style attrbuite for desktop and other platforms ## 0.5.0 + - Migrated from `gallery_saver` to `gal` for saving images - Added callbacks for greater control of editing images ## 0.4.1 + - Updated dependencies to support image_picker 1.0 ## 0.4.0 + - Fix backspace around images [PR #1309](https://github.com/singerdmx/flutter-quill/pull/1309) - Feat/link regexp [PR #1329](https://github.com/singerdmx/flutter-quill/pull/1329) ## 0.3.4 -* Resolve deprecated method use in the `video_player` package + +- Resolve deprecated method use in the `video_player` package ## 0.3.3 -* Fix a prototype bug which was bring by [PR #1230](https://github.com/singerdmx/flutter-quill/pull/1230#issuecomment-1560597099) + +- Fix a prototype bug which was bring by [PR #1230](https://github.com/singerdmx/flutter-quill/pull/1230#issuecomment-1560597099) ## 0.3.2 -* Updated dependencies to support intl 0.18 + +- Updated dependencies to support intl 0.18 ## 0.3.1 -* Image embedding tweaks - * Add MediaButton which is intened to superseed the ImageButton and VideoButton. Only image selection is working. - * Implement image insert for web (image as base64) + +- Image embedding tweaks + - Add MediaButton which is intened to superseed the ImageButton and VideoButton. Only image selection is working. + - Implement image insert for web (image as base64) ## 0.3.0 -* Added support for adding custom tooltips to toolbar buttons +- Added support for adding custom tooltips to toolbar buttons ## 0.2.0 -* Allow widgets to override widget span properties [b7951b0](https://github.com/singerdmx/flutter-quill/commit/b7951b02c9086ea42e7aad6d78e6c9b0297562e5) -* Remove tuples [3e9452e](https://github.com/singerdmx/flutter-quill/commit/3e9452e675e8734ff50364c5f7b5d34088d5ff05) -* Remove transparent color of ImageVideoUtils dialog [74544bd](https://github.com/singerdmx/flutter-quill/commit/74544bd945a9d212ca1e8d6b3053dbecee22b720) -* Migrate to `youtube_player_flutter` from `youtube_player_flutter_quill` -* Updates to forumla button [5228f38](https://github.com/singerdmx/flutter-quill/commit/5228f389ba6f37d61d445cfe138c19fcf8766d71) +- Allow widgets to override widget span properties [b7951b0](https://github.com/singerdmx/flutter-quill/commit/b7951b02c9086ea42e7aad6d78e6c9b0297562e5) +- Remove tuples [3e9452e](https://github.com/singerdmx/flutter-quill/commit/3e9452e675e8734ff50364c5f7b5d34088d5ff05) +- Remove transparent color of ImageVideoUtils dialog [74544bd](https://github.com/singerdmx/flutter-quill/commit/74544bd945a9d212ca1e8d6b3053dbecee22b720) +- Migrate to `youtube_player_flutter` from `youtube_player_flutter_quill` +- Updates to forumla button [5228f38](https://github.com/singerdmx/flutter-quill/commit/5228f389ba6f37d61d445cfe138c19fcf8766d71) ## 0.1.0 -* Initial release +- Initial release diff --git a/flutter_quill_extensions/lib/embeds/toolbar/media_button.dart b/flutter_quill_extensions/lib/embeds/toolbar/media_button.dart index efc05632..7796d6f6 100644 --- a/flutter_quill_extensions/lib/embeds/toolbar/media_button.dart +++ b/flutter_quill_extensions/lib/embeds/toolbar/media_button.dart @@ -344,10 +344,8 @@ class _MediaLinkDialogState extends State { void _submitLink() => Navigator.pop(context, _linkController.text); String? _validateLink(String? value) { - // TODO: Use [AutoFormatMultipleLinksRule.oneLineRegExp] - // in the next update if ((value?.isEmpty ?? false) || - !AutoFormatMultipleLinksRule.linkRegExp.hasMatch(value!)) { + !AutoFormatMultipleLinksRule.oneLineRegExp.hasMatch(value!)) { return widget.validationMessage ?? 'That is not a valid URL'; } diff --git a/flutter_quill_extensions/pubspec.yaml b/flutter_quill_extensions/pubspec.yaml index 59995c59..7ec60cf0 100644 --- a/flutter_quill_extensions/pubspec.yaml +++ b/flutter_quill_extensions/pubspec.yaml @@ -12,7 +12,7 @@ dependencies: flutter: sdk: flutter - flutter_quill: ^7.4.14 + flutter_quill: ^7.4.15 # In case you are working on changes for both libraries, # flutter_quill: # path: ~/development/playground/framework_based/flutter/flutter-quill