Function getEditor