diff --git a/lib/src/widgets/raw_editor/raw_editor_state.dart b/lib/src/widgets/raw_editor/raw_editor_state.dart index 0612e19b..d33d0cdc 100644 --- a/lib/src/widgets/raw_editor/raw_editor_state.dart +++ b/lib/src/widgets/raw_editor/raw_editor_state.dart @@ -574,13 +574,13 @@ class QuillRawEditorState extends EditorState ), ); } else { - child = CompositedTransformTarget( - link: _toolbarLayerLink, - child: Semantics( - child: MouseRegion( - cursor: SystemMouseCursors.text, - child: _scribbleFocusable( - QuilRawEditorMultiChildRenderObject( + child = _scribbleFocusable( + CompositedTransformTarget( + link: _toolbarLayerLink, + child: Semantics( + child: MouseRegion( + cursor: SystemMouseCursors.text, + child: QuilRawEditorMultiChildRenderObject( key: _editorKey, document: doc, selection: controller.selection,