Skip to content

Commit d89a593

Browse files
Upgrade to 7.2.19
1 parent b6ec9ff commit d89a593

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# [7.2.19]
2+
- Feat/link regexp.
3+
14
# [7.2.18]
25
- Fix paste block text in words apply same style.
36

lib/src/models/rules/insert.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,7 @@ class AutoFormatMultipleLinksRule extends InsertRule {
329329
// http://www.example.com/?action=birds&brass=apparatus
330330
// https://example.net/
331331
// URL generator tool (https://www.randomlists.com/urls) is used.
332-
static const _linkPattern =
333-
r'^https?:\/\/[\w\-]+(\.[\w\-]+)*(:\d+)?(\/.*)?$';
332+
static const _linkPattern = r'^https?:\/\/[\w\-]+(\.[\w\-]+)*(:\d+)?(\/.*)?$';
334333
static final linkRegExp = RegExp(_linkPattern, caseSensitive: false);
335334

336335
@override

lib/src/widgets/toolbar.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget {
157157

158158
/// Validate the legitimacy of hyperlinks
159159
RegExp? linkRegExp,
160-
161160
Key? key,
162161
}) {
163162
final isButtonGroupShown = [

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_quill
22
description: A rich text editor supporting mobile and web
3-
version: 7.2.18
3+
version: 7.2.19
44
homepage: https://bulletjournal.us/home/index.html
55
repository: https://github.com/singerdmx/flutter-quill
66

0 commit comments

Comments
 (0)