edit pre editor