Interacting with editorsText document APIMethodsFocusEditorOn this pageFocusEditor Returns focus to the editor. Syntax expression.FocusEditor(); expression - A variable that represents a Api class. Parameters This method doesn't have any parameters. Returns This method doesn't return any data.