Add public getEditor method to retrieve private editor