diff --git a/CHANGELOG.md b/CHANGELOG.md index 452e0fc1..9b39d5f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# [3.0.2] +* Fix lanch link for read-only mode. + ## [3.0.1] * Handle null value of Attribute.link. diff --git a/lib/src/widgets/text_line.dart b/lib/src/widgets/text_line.dart index 9a451a94..32648d8f 100644 --- a/lib/src/widgets/text_line.dart +++ b/lib/src/widgets/text_line.dart @@ -405,7 +405,7 @@ class _TextLineState extends State { } void _tapLink(String? link) { - if (widget.readOnly || link == null) { + if (!widget.readOnly || link == null) { return; } diff --git a/pubspec.yaml b/pubspec.yaml index 1a9f4e02..0605a27c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_quill description: A rich text editor supporting mobile and web (Demo App @ bulletjournal.us) -version: 3.0.1 +version: 3.0.2 #author: bulletjournal homepage: https://bulletjournal.us/home/index.html repository: https://github.com/singerdmx/flutter-quill