You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: allow to override link validation check, and accept mailto and other links by default (#2525)
* fix: improve customLinkPrefixes doc comment, allows to override link validation in the toolbar, allows to insert mailto and other links by default
* docs(changelog): document the changes with the PR link
* test: adds unit and widget tests
Copy file name to clipboardExpand all lines: CHANGELOG.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
11
11
## [Unreleased]
12
12
13
+
### Added
14
+
15
+
- Accept `mailto`, `tel`, `sms`, and other link prefixes by default in the insert link toolbar button [#2525](https://github.com/singerdmx/flutter-quill/pull/2525).
16
+
-`validateLink` in `QuillToolbarLinkStyleButtonOptions` to allow overriding the link validation [#2525](https://github.com/singerdmx/flutter-quill/pull/2525).
17
+
18
+
### Fixed
19
+
20
+
- Improve doc comment of `customLinkPrefixes` in `QuillEditor`[#2525](https://github.com/singerdmx/flutter-quill/pull/2525).
21
+
22
+
### Changed
23
+
24
+
- Deprecate `linkRegExp` in favor of the new callback `validateLink`[#2525](https://github.com/singerdmx/flutter-quill/pull/2525).
25
+
13
26
## [11.3.0] - 2025-04-23
14
27
15
28
### Fixed
@@ -22,7 +35,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
22
35
23
36
## [11.2.0] - 2025-03-26
24
37
25
-
### Added
38
+
### Added
26
39
27
40
- Cache for `toPlainText` in `Document` class to avoid unnecessary text computing [#2482](https://github.com/singerdmx/flutter-quill/pull/2482).
// TODO(EchoEllet): Refactor onLaunchUrl or add a new API to give full control of the launch? See https://github.com/singerdmx/flutter-quill/issues/1776
688
+
final launchUrl = widget.onLaunchUrl ?? _launchUrl;
0 commit comments