fix(client): re-ref editor (#42799)
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@ -60,7 +60,7 @@ function Hotkeys({
|
||||
FOCUS_EDITOR: (e: React.KeyboardEvent) => {
|
||||
e.preventDefault();
|
||||
if (editorRef && editorRef.current) {
|
||||
editorRef.current.getWrappedInstance().focusOnEditor();
|
||||
editorRef.current.getWrappedInstance().editor.focus();
|
||||
}
|
||||
},
|
||||
NAVIGATION_MODE: () => setEditorFocusability(false),
|
||||
|
Reference in New Issue
Block a user