customized the editor config