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) => {
|
FOCUS_EDITOR: (e: React.KeyboardEvent) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
if (editorRef && editorRef.current) {
|
if (editorRef && editorRef.current) {
|
||||||
editorRef.current.getWrappedInstance().focusOnEditor();
|
editorRef.current.getWrappedInstance().editor.focus();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
NAVIGATION_MODE: () => setEditorFocusability(false),
|
NAVIGATION_MODE: () => setEditorFocusability(false),
|
||||||
|
Reference in New Issue
Block a user