|
|
|
@ -177,15 +177,15 @@ class QuillEditorState extends State<QuillEditor> |
|
|
|
|
_editorKey = configurations.editorKey ?? GlobalKey<EditorState>(); |
|
|
|
|
_selectionGestureDetectorBuilder = |
|
|
|
|
_QuillEditorSelectionGestureDetectorBuilder( |
|
|
|
|
this, |
|
|
|
|
configurations.detectWordBoundary, |
|
|
|
|
); |
|
|
|
|
this, |
|
|
|
|
configurations.detectWordBoundary, |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
widget.configurations.controller.editorConfigurations ??= |
|
|
|
|
widget.configurations; |
|
|
|
|
|
|
|
|
|
final focusNode = |
|
|
|
|
widget.configurations.controller.editorFocusNode ??= widget.focusNode; |
|
|
|
|
widget.configurations.controller.editorFocusNode ??= widget.focusNode; |
|
|
|
|
|
|
|
|
|
if (configurations.autoFocus) { |
|
|
|
|
focusNode.requestFocus(); |
|
|
|
|