added the editor template and handler