fix launch link for read only

pull/555/head
li3317 3 years ago
parent 69a307948e
commit 6ff299118d
  1. 3
      CHANGELOG.md
  2. 2
      lib/src/widgets/text_line.dart
  3. 2
      pubspec.yaml

@ -1,3 +1,6 @@
# [3.0.2]
* Fix lanch link for read-only mode.
## [3.0.1] ## [3.0.1]
* Handle null value of Attribute.link. * Handle null value of Attribute.link.

@ -405,7 +405,7 @@ class _TextLineState extends State<TextLine> {
} }
void _tapLink(String? link) { void _tapLink(String? link) {
if (widget.readOnly || link == null) { if (!widget.readOnly || link == null) {
return; return;
} }

@ -1,6 +1,6 @@
name: flutter_quill name: flutter_quill
description: A rich text editor supporting mobile and web (Demo App @ bulletjournal.us) description: A rich text editor supporting mobile and web (Demo App @ bulletjournal.us)
version: 3.0.1 version: 3.0.2
#author: bulletjournal #author: bulletjournal
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