bind editor's menu event with map