customized editor sample