Editor › getCursor Editor.getCursor() method Signature: abstract getCursor(string?: 'from' | 'to' | 'head' | 'anchor'): EditorPosition; Parameters ParameterTypeDescriptionstring’from’ | ‘to’ | ‘head’ | ‘anchor’(Optional) Returns: EditorPosition