|
|
|
@ -182,6 +182,7 @@ class QuillEditor extends StatefulWidget { |
|
|
|
|
this.customShortcuts, |
|
|
|
|
this.customActions, |
|
|
|
|
this.detectWordBoundary = true, |
|
|
|
|
this.enableUnfocusOnTapOutside = true, |
|
|
|
|
this.customLinkPrefixes = const <String>[], |
|
|
|
|
Key? key}) |
|
|
|
|
: super(key: key); |
|
|
|
@ -246,6 +247,9 @@ class QuillEditor extends StatefulWidget { |
|
|
|
|
/// Defaults to `false`. Cannot be `null`. |
|
|
|
|
final bool autoFocus; |
|
|
|
|
|
|
|
|
|
/// Whether focus should be revoked on tap outside the editor. |
|
|
|
|
final bool enableUnfocusOnTapOutside; |
|
|
|
|
|
|
|
|
|
/// Whether to show cursor. |
|
|
|
|
/// |
|
|
|
|
/// The cursor refers to the blinking caret when the editor is focused. |
|
|
|
@ -506,6 +510,7 @@ class QuillEditorState extends State<QuillEditor> |
|
|
|
|
customShortcuts: widget.customShortcuts, |
|
|
|
|
customActions: widget.customActions, |
|
|
|
|
customLinkPrefixes: widget.customLinkPrefixes, |
|
|
|
|
enableUnfocusOnTapOutside: widget.enableUnfocusOnTapOutside, |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
final editor = I18n( |
|
|
|
|