Upgrade to 7.2.19

pull/1331/head
Cheryl 2 years ago
parent b6ec9ff5d6
commit d89a593e6c
  1. 3
      CHANGELOG.md
  2. 3
      lib/src/models/rules/insert.dart
  3. 1
      lib/src/widgets/toolbar.dart
  4. 2
      pubspec.yaml

@ -1,3 +1,6 @@
# [7.2.19]
- Feat/link regexp.
# [7.2.18] # [7.2.18]
- Fix paste block text in words apply same style. - Fix paste block text in words apply same style.

@ -329,8 +329,7 @@ class AutoFormatMultipleLinksRule extends InsertRule {
// http://www.example.com/?action=birds&brass=apparatus // http://www.example.com/?action=birds&brass=apparatus
// https://example.net/ // https://example.net/
// URL generator tool (https://www.randomlists.com/urls) is used. // URL generator tool (https://www.randomlists.com/urls) is used.
static const _linkPattern = static const _linkPattern = r'^https?:\/\/[\w\-]+(\.[\w\-]+)*(:\d+)?(\/.*)?$';
r'^https?:\/\/[\w\-]+(\.[\w\-]+)*(:\d+)?(\/.*)?$';
static final linkRegExp = RegExp(_linkPattern, caseSensitive: false); static final linkRegExp = RegExp(_linkPattern, caseSensitive: false);
@override @override

@ -157,7 +157,6 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget {
/// Validate the legitimacy of hyperlinks /// Validate the legitimacy of hyperlinks
RegExp? linkRegExp, RegExp? linkRegExp,
Key? key, Key? key,
}) { }) {
final isButtonGroupShown = [ final isButtonGroupShown = [

@ -1,6 +1,6 @@
name: flutter_quill name: flutter_quill
description: A rich text editor supporting mobile and web description: A rich text editor supporting mobile and web
version: 7.2.18 version: 7.2.19
homepage: https://bulletjournal.us/home/index.html homepage: https://bulletjournal.us/home/index.html
repository: https://github.com/singerdmx/flutter-quill repository: https://github.com/singerdmx/flutter-quill

Loading…
Cancel
Save