The ace editor as a polymer element