@ -1,3 +1,6 @@
# [3.4.3]
* Preset link from attributes.
# [3.4.2]
* Fix launch link edit mode.
@ -4,8 +4,7 @@ import '../../models/themes/quill_dialog_theme.dart';
import '../../translations/toolbar.i18n.dart';
class LinkDialog extends StatefulWidget {
const LinkDialog({this.dialogTheme, this.link, Key? key})
: super(key: key);
const LinkDialog({this.dialogTheme, this.link, Key? key}) : super(key: key);
final QuillDialogTheme? dialogTheme;
final String? link;
@ -101,7 +101,8 @@ class _LinkStyleButtonState extends State<LinkStyleButton> {
builder: (ctx) {
final link = widget.controller
.getSelectionStyle()
.attributes[Attribute.link.key]?.value;
.attributes[Attribute.link.key]
?.value;
return LinkDialog(dialogTheme: widget.dialogTheme, link: link);
},
).then(_linkSubmitted);
@ -1,6 +1,6 @@
name: flutter_quill
description: A rich text editor supporting mobile and web (Demo App @ bulletjournal.us)
version: 3.4.2
version: 3.4.3
#author: bulletjournal
homepage: https://bulletjournal.us/home/index.html
repository: https://github.com/singerdmx/flutter-quill