|
|
@ -173,7 +173,9 @@ class QuillEditorState extends State<QuillEditor> |
|
|
|
void initState() { |
|
|
|
void initState() { |
|
|
|
super.initState(); |
|
|
|
super.initState(); |
|
|
|
widget.configurations.controller.editorFocusNode ??= widget.focusNode; |
|
|
|
widget.configurations.controller.editorFocusNode ??= widget.focusNode; |
|
|
|
widget.configurations.controller.editorFocusNode?.requestFocus(); |
|
|
|
if (configurations.autoFocus) { |
|
|
|
|
|
|
|
widget.configurations.controller.editorFocusNode?.requestFocus(); |
|
|
|
|
|
|
|
} |
|
|
|
_editorKey = configurations.editorKey ?? GlobalKey<EditorState>(); |
|
|
|
_editorKey = configurations.editorKey ?? GlobalKey<EditorState>(); |
|
|
|
_selectionGestureDetectorBuilder = |
|
|
|
_selectionGestureDetectorBuilder = |
|
|
|
_QuillEditorSelectionGestureDetectorBuilder( |
|
|
|
_QuillEditorSelectionGestureDetectorBuilder( |
|
|
|